-
Notifications
You must be signed in to change notification settings - Fork 8
Cheatsheet
Md. Shohel Rana edited this page Oct 6, 2018
·
8 revisions
npm install or npm inpm install "your package name" --save-dev
npm install "your package name" --savenpm i npmnpm cache verify
# if npm version is < 5 then use `npm cache clean`git clone "your repository name"
git clone "your repository name" --"your favorite name"git pull -f origin mastergit add --all
git commit -m "Your messages"
git push -u origin mastergit config --global user.name "Shohel Rana"git config --global user.email "email@example.com"npm install -g @angular/clinpm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/cling new <project-name> [options]ng init <project-name> [options]Options: --dry-run (Outputs results but does not create the project) --verbose (Output all the things!!!1!) --skip-npm (Does not run npm commands after project creation) --skip-git (Does not initialize the repo as a git repo --directory (Specify the parent directory when creating the project)