## NPM installation
To install or upgrade nodejs
and npm
properly, run:
# Nodejs
## On Ubuntu
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get -y install nodejs
## On CentOS
'.source.html': | |
'ngClass': | |
'prefix': 'ngclass', | |
'description': 'Angular 2 ngClass snippet' | |
'body': """ | |
[ngClass]=\"{${cssClass}: ${expression}}\" | |
""" | |
'ngFor': | |
'prefix': 'ngfor', | |
'description': 'Angular 2 *ngFor snippet' |
## NPM installation
To install or upgrade nodejs
and npm
properly, run:
# Nodejs
## On Ubuntu
curl -sL https://deb.nodesource.com/setup_4.x | sudo -E bash -
sudo apt-get -y install nodejs
## On CentOS
I hereby claim:
To claim this, I am signing this object: