![]() ![]() Npm config set registry Create a profile for the public npm registry After you have created your npm Enterprise profile, you can create a second profile for a different registry, such as the public npm registry. This does assume the proxy username is the same as your machine username but if not you could tweak the script to prompt you for both. ![]() If you add this to your powershell profile then you can then you can call np in place of npm and it will prompt you to type your password and then call npm with the parameters you supplied along with the proxy url. These fields are optional, some times and is not required, if port is 80 than it is not required (it is the default port). Npm config set https-proxy You have to change, , and with your proxy settings. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |