install @babel/preset-env code example Example: install babel preset env npm install --save-dev @babel/preset-env