Documentation for package aliases

npm 6.9.0 introduced support for package aliases:

But the support is not mentioned in the documentation for npm install (and I could not find it elsewhere in the npmjs.com documentation):
https://docs.npmjs.com/cli/install

1 Like

I had trouble finding out about this feature, until I found https://github.com/npm/cli/pull/3.

It would be great if there was at least some information about the npm install foo@npm:bar syntax undet the npm install docs.