-
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 i
npm install "your package name" --save-dev
npm install "your package name" --save
npm i npm
npm 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 master
git add --all
git commit -m "Your messages"
git push -u origin master
git config --global user.name "Shohel Rana"
git config --global user.email "[email protected]"
npm install -g @angular/cli
npm uninstall -g @angular/cli
npm cache clean
npm install -g @angular/cli
ng new <project-name> [options]
ng init <project-name> [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)