1

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.

12
  • ya you do without npm Commented May 24, 2016 at 5:04
  • ask your friend to run this command npm update -g npm or npm install -g npm it will update npm to latest version Commented May 24, 2016 at 5:06
  • but its working on his system not in mine @Bender Commented May 24, 2016 at 5:25
  • please let me know how any source or link @uzaif Commented May 24, 2016 at 5:25
  • okey i will give link Commented May 24, 2016 at 5:25

2 Answers 2

1

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 
Sign up to request clarification or add additional context in comments.

Comments

0

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.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.