DEV Community

loading...
Cover image for what does this '-i' mean?

what does this '-i' mean?

takuzen profile image Takuzen ・1 min read

npm i

I have been wondering what this 'i' means when I copy this line, and I just figure out it's just an alias of 'install".

Maybe nobody gets caught here, but just in case:)

Discussion (3)

pic
Editor guide
Collapse
amritanshu profile image
Amritanshu Dev Rawat

-v for version
-g for global

etc ...

Collapse
b0yblake profile image
Lichhuun

Yeah, It's very general. You can make this article more useful by adding some common cases like: install multiple, different bw -i | i | install,..

Collapse
takuzen profile image
Takuzen Author

Thank you for your feedback!
I'd like to work on making my articles more useful for coders in the world:)