Using private npm
, common commands seem not to work:
npm install
without a specific @version
:: issue
npm outdated
:: issue
npm update
:: issue
npm view <private-package-name> versions
:: (haven't found issue yet)
npm v
, npm show
, and npm info
are aliases that likewise don't workFrequently, I will not know the latest version of a private module my team maintains. I would fall back on one of the commands listed above, but they seem inoperative. How can I install a package without knowing the latest version?
If I understand your question, installing latest package would be:
npm install <package_name>@latest --save
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With