Create a tarball from the current package.
Section: Local development and linking
Pack the current package
bash
bash
npm packExplanation
Create a tarball from the current package.
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.
CI install without lifecycle scripts
Perform a clean install while skipping lifecycle scripts.