DEV Community

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)

Editor guide
amritanshu profile image
Amritanshu Dev Rawat

-v for version
-g for global

etc ...

b0yblake profile image

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,..

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