say-hello To test cd path/to/say-hello npm link then cd path/to/test-say-hello npm init -y npm link say-hello To publish npm login npm publish --access public