-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: add npm add as alias to npm install #160
Conversation
@@ -14,7 +14,7 @@ npm-install(1) -- Install a package | |||
npm install <tarball url> | |||
npm install <folder> | |||
|
|||
alias: npm i | |||
aliases: npm i, npm add |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oof, i didn't realize this was an alias. it seems like add
should force --save
, and it doesn't :-/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just learnt it. I was trying to do npm adduser
but I did npm add user
😀.
Just tried ng add
, and it's seems to be forcing --save
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if you have save=false
in your .npmrc
, does it still force --save
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, if I have save=false
in my .npmrc
(whether it's local to my project or global), it doesn't force --save
.
No description provided.