install latest babel npm code example
Example 1: install babel command line
npm i -D @babel/core @babel/preset-env babel-loader
Example 2: 'babel-node' npm
npm install --save-dev @babel/node
npm i -D @babel/core @babel/preset-env babel-loader
npm install --save-dev @babel/node