Menu
![]() ![]() We still have npm installed in a location owned by root. Prefix =/home/sitepoint/.node_modules_global npmrc file in our home directory: $ npm config get prefix With this simple configuration change, we’ve altered the location to which global Node packages are installed. ![]() $ npm config set prefix = $HOME/.node_modules_global To do that create a new directory in your home folder: $ cd ~
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |