Open an NPM Package's Home Page from the Command Line

March 19, 2020

Open Package Home Page

To open an NPM package’s website home page use the home command and hen the packge name:

npm home <package>


npm home material-bread

Although intended for the package homepage, this command will open whatever the package owner’s set the homepage property to in their package.json

"homepage": "",

Open Package Repo

To open an NPM package’s repository from the command line type npm repo and then the package name:

npm repo <package>


npm home material-bread