[toc]
conda
# 列出所有的虚拟环境和位置
conda env list
或conda info -e
# 列出某个环境所有包和包的下载源路径
conda list -n <ENVNAME> --show-channel-urls
# 创建一个新的环境
conda create --name <ENVNAME>
# 激活虚拟环境
conda activate <ENVNAME>
# 退出当前虚拟环境
conda deactivate
# 在某个环境中安装包
conda install -n <ENVNAME> <PKG1> <PKG2>
# 升级某个环境的所有包
conda update --all -n <ENVNAME>
# 某个环境的某个包
conda uninstall <PKGNAME> -n <ENVNAME>
# 删除虚拟环境
conda remove --name <ENVNAME> --all
dos
查看443端口占用
git
Git push失败,443: Timed out
使用了clash, git push失败
Failed to connect to github.com port 443: Timed out
需要手动设置一下全局http/https代理
git config --global http.proxy http://127.0.0.1:[port]
git config --global https.proxy https://127.0.0.1:[port]
速查表
Quick Reference & Quick Reference (wangchujiang.com)