Install a package from a local tarball.
Section: Local development and linking
Install from local tarball
bash
bash
npm install ./my-package-1.0.0.tgzExplanation
Install a package from a local tarball.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Local development and linking
Create a global symlink for current package
Register the current package for local linking.
Link an installed global package
Link a globally linked package into the current project.