AptLynx

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

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents