Reputation: 2493
I am trying to install angular 2 on my ubuntu machine and I've npm version 3.8.9 and 0.10.25.
I follow https://angular.io/guide/quickstart
in my friends windows machine with npm version 2.11.x it install less modules and also create typings folder but with same commands in my system it install so many modules also its not creating any typings folder.
and also its not working as per quick start guide
what I've to do to run angular 2 with my configuration and is there any direct way like angular 1 to just include library and start working if not please let me know how to run it in any way.
Upvotes: 1
Views: 268
Reputation: 1100
Angular 2 Installation Process For Ubuntu:
Type this command one by one in Terminal
sudo apt-get update
sudo apt-get install nodejs
node -v (for nodejs version check)
sudo apt-get install npm
npm -v (for npm version check)
npm install -g @angular/cli
To create a new project
ng new (your-project-name)
ng serve // run project
Upvotes: 1
Reputation: 1139
For this case, you have to set up one virtual environment for Development Like Docker or Virtual Box etc
Choose the proper version for any dependencies you want.
You both can work with the same configuration.
Upvotes: 0