Site Tools


blog:2021:02:05:setup-npmrc-for-azure-artifacts-in-wsl2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blog:2021:02:05:setup-npmrc-for-azure-artifacts-in-wsl2 [2021-02-05]
dcai
blog:2021:02:05:setup-npmrc-for-azure-artifacts-in-wsl2 [2021-02-05] (current)
dcai
Line 1: Line 1:
-===== Setup npmrc for azure artifacts in WSL2 =====+===== Setup npmrc for azure artifacts in WSL 2 =====
  
  
-I recently got a windows machine from work, since more comfortable with mac or linux, so I installed [[:windows:wsl|wsl2 (ubuntu)]] to setup nodejs development environment in it, I followed the [[https://docs.microsoft.com/en-us/azure/devops/artifacts/npm/npmrc?view=azure-devops&tabs=windows#set-up-authentication-on-your-dev-box|guide]], and created the auth token from azure personal access token:+I recently got a windows machine from work, since more comfortable with mac or linux, so I installed [[:windows:wsl|WSL 2 (ubuntu)]] to setup nodejs development environment in it, I followed the [[https://docs.microsoft.com/en-us/azure/devops/artifacts/npm/npmrc?view=azure-devops&tabs=windows#set-up-authentication-on-your-dev-box|guide]], and created the auth token from azure personal access token:
 <code> <code>
 echo -n [personal-access-token] | base64 echo -n [personal-access-token] | base64
blog/2021/02/05/setup-npmrc-for-azure-artifacts-in-wsl2.1612503228.txt.gz · Last modified: 2021-02-05 by dcai