npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

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


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.