Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save da8/21e883425e4409ee62724dd9cd1908cc to your computer and use it in GitHub Desktop.

Select an option

Save da8/21e883425e4409ee62724dd9cd1908cc to your computer and use it in GitHub Desktop.
install nvm, node, npm and global angular cli on Kubuntu 20.04.3 LTS
NVM is a Node Version Manager tool. Using the NVM utility, you can install multiple node.js versions on a single system. You can also choose a specific Node version for applications. It also provides an option to auto-select the node version using the .nvmrc configuration file.
install nvm
cd ~/asmara/workbench
curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash
source ~/.profile
nvm --version
install node and npm using nvm
install the latest
nvm install node
switch to specific version
nvm install node
nvm install 14.17.6
node --version
npm --version
uninstall the global Angular CLI
npm uninstall -g @angular/cli
install the latest angular cli globally
npm install -g @angular/cli@latest
!!! installing a specific version of angular client locally worked but the application did not run so it was abondanded !!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment