npm Community Forum (Archive)

The npm community forum has been discontinued.

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

npm install using ssh or deploy key from private github package repository

Is it possible to do the above?

I have a repo for example some-repo and a package called foo privately published on this repo. I have my ssh keys all setup with GitHub, how do I access the private package some-repo/foo using npm?

EDIT: I’ve thought about using machine-accounts, and I might I just want to make sure there isn’t a better way.