BROWSERSLIST(1)

πŸ’– NAME πŸ’–

browserslist β€” the config that lets you share target browsers and Node.js versions. it's giving "one list to rule them all" and honestly? iconic. πŸ‘‘


🌸 DESCRIPTION 🌸

okay so bestie, here's the vibe: browserslist is how you share your target browsers between all your different front-end tools. we're talking Autoprefixer, Stylelint, and babel-env-preset. πŸ¦‹

like, instead of every single tool having its own little opinion about which browsers you care about, everybody just reads the same config. no cap. one source of truth, zero drama. πŸ’…


✨ Usage ✨

here's literally every way you can run it, fr fr:

npx browserslist
npx browserslist "QUERIES"
npx browserslist --json "QUERIES"
npx browserslist --config="path/to/browserlist/file"
npx browserslist --coverage "QUERIES"
npx browserslist --coverage=US "QUERIES"
npx browserslist --coverage=US,RU,global "QUERIES"
npx browserslist --env="environment name defined in config"
npx browserslist --stats="path/to/browserlist/stats/file"
npx browserslist --mobile-to-desktop
npx browserslist --ignore-unknown-versions
heads up queen: the --config and --stats paths in those examples say browserlist (no s) and yes that's exactly how they're written, so copy them character for character. πŸ™ˆ

pick your fighter, run it, and go off. you got this. 🫢


this whole thing is browserslist version 4.28.7, dated August 2026. mwah, stan a manpage that ate and left no crumbs. πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…

πŸ“¦ where this page comes from