Windows - Switch Angular Node version

17 Mar 2021

  • Download and install nvm from https://github.com/coreybutler/nvm-windows/releases

  • Download and set a specific node version e.g 10.24.0 using following commands:
    > nvm nvm install 10.24.0
    > nvm use 10.24.0
    
  • Verify that Node switch is successful.
    > node --version
    
  • Now Install dependencies using normal npm commands using the selected Node version.
    npm install
    
  • If you are interested to install only package-lock.json dependencies then use the following command instead:
    npm ci