It’s time to prepare environment work. First, I formed a virtual environment to separate all the packages from other projects, so:
Earlier, of course, I had to install virtualenv.
After this command, I’m immediately in our virtual environment
If I want to deactivate virtualenv I must just use ‘deactivate’ .
If I want to start again our virtual machine I must use ‘workon worthit’
Now, I install angular 2 with one command:
npm install -g angular-cli
then, I create folder for my projects and inside this folder I use
ng new worthit-project
and now I’m ready for work