# man > babeljs-node(1)

[_BABEL-NODE.JS_(1)](https://www.chedong.com/phpMan.php/man/BABEL-NODE.JS/1/markdown)                            User Commands                           [_BABEL-NODE.JS_(1)](https://www.chedong.com/phpMan.php/man/BABEL-NODE.JS/1/markdown)

## NAME
       babel-node.js - CLI that works exactly the same as the Node.js CLI, with the added benefit of
       compiling with Babel presets and plugins before running it

## SYNOPSIS
       **babel-node **[_options_] [ _-e_ _script_ _|_ _script.js_ ] [_arguments_]

## OPTIONS
### -e --eval 
              Evaluate script

### --no-babelrc
              Specify whether or not to use .babelrc and .babelignore files

### -r --require 
              Require module

### -p --print 
              Evaluate script and print result

### -o --only 
              A comma-separated list of glob patterns to compile

### -i --ignore 
              A comma-separated list of glob patterns to skip compiling

### -x --extensions 
              List of extensions to hook into [.es6,.js,.es,.jsx,.mjs]

       **--config-file **[path]
              Path to the babel config file to use. Defaults to working directory babel.config.js

       **--env-name **[name]
              The  name  of the 'env' to use when loading configs and plugins. Defaults to the value
              of BABEL_ENV, or else NODE_ENV, or else 'development'.

       **--root-mode **[mode]
              The project-root resolution mode. One of  'root'  (the  default),  'upward',  or  'up‐
              ward-optional'.

### -w --plugins 

### -b --presets 

### -V --version
              output the version number

### -h --help
              display help for command

babel-node.js 7.20.15+ds1+~cs214.269.168    February 2024                           [_BABEL-NODE.JS_(1)](https://www.chedong.com/phpMan.php/man/BABEL-NODE.JS/1/markdown)
