git
设置全局用户名
git config --global user.name "North"
设置全局邮箱
git config --global user.email "1227379879@qq.com"
设置代理
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy https://127.0.0.1:7890
取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
npm
查看源
npm config get registry
更换淘宝源
npm config set registry=https://registry.npmmirror.com
pnpm存储路径
pnpm config set store-dir /path/to/.pnpm-store