Command-line tool
babel-cli
npm/babel-cli
Checked 25 Oct 2026, 21:11 UTC · Still published on npm
Babel command line. 6to5 babel es6 transpile transpiler babel-cli compiler
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:11 UTC
Install it
Windows
npm install -g babel-cli
macOS
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/node
Babel command line 6to5 babel es6 transpile transpiler babel-cli compiler - babel
Compiler for writing next generation JavaScript 6to5 babel es6 transpile transpiler babel-cli compiler - @swc/cli
CLI for the swc project swc cli babel es6 transpile transpiler compiler javascript - c2rust-transpile
C2Rust transpiler implementation - swc
Super-fast Rust-based JavaScript/TypeScript compiler - nvc
VHDL compiler and simulator tool cli foss open-source command-line digital simulator logic vhdl - babeld
Loop-avoiding distance-vector routing protocol - oxlint
High-performance linter for JavaScript and TypeScript written in Rust typescript javascript transpiler compiler linter…
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents