Command-line tool
esbuild
brew/esbuild
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Extremely fast JavaScript bundler and minifier
At a glance
- Type
- Command-line tool
- Install on
- macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
macOS
brew install esbuild
Linux
brew install esbuild
Bundle a JavaScript application and print to `stdout`
esbuild --bundle path/to/file.js
Bundle a JSX application from `stdin`
esbuild < path/to/file.jsx --bundle --outfile=path/to/out.js
Bundle and minify a JSX application with source maps in `production` mode
esbuild --bundle --define:process.env.NODE_ENV=\"production\" --minify --sourcemap path/to/file.js
Related command-line tools
- esbuild-rs
Rust wrapper for esbuild, an extremely fast JS minifier written in Go - minify-js
Extremely fast JavaScript minifier - rslint
Extremely fast JavaScript and TypeScript linter - html-minifier
Highly configurable, well-tested, JavaScript-based HTML minifier. cli compress compressor css html htmlmin javascript… - html-minifier-terser
Highly configurable, well-tested, JavaScript-based HTML minifier. cli compress compressor css html htmlmin javascript… - bun
Incredibly fast JavaScript runtime, bundler, test runner, and package manager rust react typescript npm javascript… - hyperbuild
Fast allocation-less HTML minifier with smart whitespace handling - sonda
Universal bundle analyzer and visualizer that works with most popular bundlers and frameworks. analyzer angular bundle…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents