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