Note that only the bin scripts are available globally. #Runjs vs npm how toTo install this package globally, we use npm install -g: npm install -g cowsayĬaveat: On Unix, we may have to use sudo (we’ll learn soon how to avoid that): sudo npm install -g cowsayĪfter that, we can use the commands cowsay and cowthink in our command lines. Package cowsay has the following package.json property: "bin" : , Installing npm registry packages globally #
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |