DEV Community

Cover image for what does this '-i' mean?
Takuzen Toh
Takuzen Toh

Posted on

what does this '-i' mean?

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:)

Top comments (3)

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 Toh

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