npm Install & Dependencies/Link an installed global package

Link a globally linked package into the current project.

Section: Local development and linking

Link an installed global package

bash
bash
npm link <package>
Explanation

Link a globally linked package into the current project.

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.
OpenIn sheetbashsame section
Pack the current package
Create a tarball from the current package.
OpenIn sheetbashsame section
Install from local tarball
Install a package from a local tarball.
OpenIn sheetbashsame section
Install a package
Install a runtime dependency.
OpenIn sheetbash1 tag match
Remove a package
Remove a dependency and update manifests.
OpenIn sheetbash1 tag match
CI install without lifecycle scripts
Perform a clean install while skipping lifecycle scripts.
OpenIn sheetbash1 tag match