Command-line tool
babel
brew/babel
Checked 26 Oct 2026, 08:31 UTC · Still published on npm
Compiler for writing next generation JavaScript 6to5 babel es6 transpile transpiler babel-cli compiler
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 26 Oct 2026, 08:31 UTC
Install it
Windows
npm install -g @babel/cli
macOS
brew install babel npm install -g @babel/cli
Linux
npm install -g @babel/cli
Transpile a specified input file and output to `stdout`
babel path/to/file
Transpile a specified input file and output to a specific file
babel path/to/input_file --out-file path/to/output_file
Transpile the input file every time it is changed
babel path/to/input_file --watch
Related command-line tools
- babel-cli
Babel command line. 6to5 babel es6 transpile transpiler babel-cli compiler - @babel/node
Babel command line 6to5 babel es6 transpile transpiler babel-cli compiler - @swc/cli
CLI for the swc project swc cli babel es6 transpile transpiler compiler javascript - swc
Super-fast Rust-based JavaScript/TypeScript compiler - quickjs-ng
QuickJS, the Next Generation: a mighty JavaScript engine - closure-compiler
JavaScript optimizing compiler - lunarml
Standard ML compiler that produces Lua/JavaScript - treecc
Aspect-oriented approach to writing compilers
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents