How to execute npm install with a specific version from the nexus repo?
My artifacts are stored in Nexus. what I need to do is execute npm install <nexus version>. However when I do this it still uses my latest package.json that I committed. I want to use all artifacts including package.json from the version in my nexus repo.
npm install <nexus version>
Using npm via NXRM behaves the same as using npm without NXRM as far as installs go. You can use npm install package@version.
npm install package@version
So for example, npm install [email protected].
npm install [email protected]
See npm install doc for more details.
2.1m questions
2.1m answers
60 comments
57.0k users