Setting up Angular Environment Using NVM - Ubuntu 16.04 LTS
Setting up Angular Environment Using NVM - Ubuntu 16.04 LTS
Requirements:
1.nodejs.
2.@angular/cli.
Procedure:
1.Install NVM (Node Version Manager):
By far the easiest way to install node.
run commad :
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.6/install.sh | bash
-This installs NVM, use command ‘nvm -v’ to check if it is installed.
Note: Re-open Terminal after install ‘nvm'(if ‘nvm -v’ doesn’t work).
2.run command:
nvm install node
-This installs the latest version of node
To install a specific version of node use:
nvm install <version>
ex:
nvm install 6.11.5
(Installs version 6.11.5)
3.Install Angular CLI(Command Line Interface)
run:
npm install -g @angular/cli
To check run:
ng
Comments
Post a Comment
Your comments are welcome!