install babel globally code example
Example 1: install babel command line
npm i -D @babel/core @babel/preset-env babel-loader
Example 2: babel cmd
babel src\app.js --out-file=public\scripts\app.js --presets=env,react --watch
Example 3: install babel language
$ sudo apt-cache search texlive french
texlive-doc-fr - TeX Live: French documentation
texlive-lang-french - TeX Live: French
$sudo apt-get install texlive-lang-french