Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

install specific version of the library using cli #9085

Closed
debris opened this issue Jul 28, 2015 · 2 comments
Closed

install specific version of the library using cli #9085

debris opened this issue Jul 28, 2015 · 2 comments

Comments

@debris
Copy link

debris commented Jul 28, 2015

According to the -help

npm install <pkg>@<tag>
npm install <pkg>@<version>
npm install <pkg>@<version range>

and docs

npm install sax@0.1.1

it should be possible to install specific version of the library using cli. Although when I try to install library node-inspector the command is not working (it is not recognised).

# install by tag
npm intstall node-inspector@v0.11.2 -g
# by npm register name
npm intstall node-inspector@0.11.2 -g

npm version: 2.12.1
os: osx 10.10.3

@alrra
Copy link

alrra commented Jul 28, 2015

npm intstall node-inspector@v0.11.2 -g

@debris You have a typo, it should be "install" not "intstall", try:

npm install -g node-inspector@v0.11.2

@debris
Copy link
Author

debris commented Jul 28, 2015

... thanks!

@debris debris closed this as completed Jul 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants