Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 421 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 421 Bytes

dotfiles

modify npm global

  1. find where npm is in:
whereis npm
  1. find where global npmrc is in:
npm config ls -l
  1. modify global npmrc
cp .npmrc /global/npmrc

modify global pip source

  1. using root user to execute
sudo pip config set global.index-url http://mirrors.cloud.tencent.com/pypi/simple
sudo pip config set global.trusted-host global.trusted-host