npm publish --access public

Category: Node.js & npm/yarn

npm publish --access public

Publish a scoped package (like @org/pkg) publicly — scoped packages are private by default

Scoped packages (like @myorg/package) are private by default on npm. This flag makes them publicly installable by anyone.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.