i have a Windows machine. i need to setup the npm private profile to accept private packages for my code. my dev team has provided only a hexadecimal token for the setup. The npm documentation describes to use the token like this export NPM_TOKEN="00000000-0000-0000-0000-000000000000". but windows machine is not accepting this command.
can anyone help me on setting the npm token in a windows 10 laptop.
You can do this:
variables
or environment var
and click on the Edit environment variables for your account
entryNew...
button in User variables
section.NPM_TOKEN
00000000-0000-0000-0000-000000000000
(use your own token)
It should be done
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With