reopen shell or run refreshenv in powershell
- Run powershell with admin priviledge
- Run Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned -Force. And then run Get-ExecutionPolicy, it should output AllSigned.
- Run the following command: Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- Restart the powershell, and then run choco -h
choco install -y cygwin
choco install -y cyg-get
CYGBIN = C:\tools\cygwin\bin\
export http_proxy="http://web-proxy.tencent.com:8080"
export https_proxy="http://web-proxy.tencent.com:8080"
cyg-get.bat unzip
cyg-get.bat zip
cyg-get.bat wget
cyg-get.bat curl
cyg-get.bat nc
choco install -y visualstudio2017buildtools
choco install -y visualstudio2017-workload-vctools
//choco install -y vcredist140
//choco install -y vcbuildtools
//choco install -y llvm
添加 C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin; 到系统path
choco install -y googlechrome
choco install -y --ignore-checksums qdir
- 选择栏第一项
- 倒数第三行画有国旗的选项
- 选项
- Q-Dir 界面
- 启动视图 -> 使用最近视图
- 选项
- 打开所有
- 在已有实例新标签中打开
- 选项
- 系统
- 显示隐藏文件
choco install -y everything
- 工具
- 选项
- 视图
- 高亮光标经过行
- 工具
- 选项
- 结果
- 双击路径打开目录
- 工具
- 选项
- 历史
- 启用搜索历史
choco install -y sublimetext3
choco install -y 7zip
choco install -y winrar
choco install -y git
choco install -y tortoisegit
git config --global user.name "Alex-duzhichao"
git config --global user.email "[email protected]"
choco install -y foxitreader
*最好不要同时安装python2 和python3,可能出现冲突,优先安装python3 May be need restart the system first
choco install -y python2
vim 要求python3 版本为 3.5 choco install -y python -version 3.5.4
choco uninstall -y python
choco uninstall -y python3
确认 PYTHONHOME="C:\Python35"
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python get-pip.py
rm -f get-pip.py
curl -x web-proxy.tencent.com:8080 -k https://bootstrap.pypa.io/get-pip.py | python
-x proxy address
-k insecure, withou certs
pip install requests
pip install pgen
pip install cython #依赖vs build tools
pip install pyyaml
pip install Cheetah3
如果失败则尝试:
- 在 https://www.lfd.uci.edu/~gohlke/pythonlibs/#lxml 下载 lxml-4.2.3-cp37-cp37m-win_amd64.whl
- pip install C:\Users\alexzcdu\Downloads\lxml-4.2.3-cp37-cp37m-win_amd64.whl
- 如果报错is not a supported wheel on this platform, https://www.cnblogs.com/nice-forever/p/5371906.html
choco install -y golang
choco install -y cmake
添加 C:\Program Files\CMake\bin\ 到系统PATH
依赖python
python installSoftware.py sogou_pinyin
python installSoftware.py env_editor
choco install -y ditto
- 选择 At Previous Position
- 设置 1 - 10 的快捷键
choco install -y autohotkey
choco install -y lua
python installSoftware.py xshell
- 配色方案 -> New black
- 字体名 -> Consolas
- 字体大小 -> 14
choco install -y ag
choco install -y nodejs
npm config set proxy "http://web-proxy.tencent.com:8080"
npm config set https-proxy "http://web-proxy.tencent.com:8080"
npm install -g typescript
VIMPATH = %USERPROFILE%\.vim
choco install -y vim
python installSoftware.py ctags
python installSoftware.py cscope
运行gvim并执行 PlugInstall //gvim +PlugInstall +qall
cd $env:VIMPATH/plugged/YouCompleteMe/
cd $VIMPATH/plugged/YouCompleteMe/
git submodule update --init --recursive
python install.py --go-completer --js-completer --clang-completer
echo '{"plugins":{"node":{},"es_modules":{},"doc_comment":null},"libs":[],"ecmaVersion":6,"dontLoad":["node_modules/**"]}' > %USERPROFILE%\.tern-project
如果安装报hash not match,则说明下载libclang失败,检查是否设置了http代理,也可以手动下载"http://llvm.org/releases/3.6.2/clang+llvm-3.6.2-x86_64-linux-gnu-ubuntu-14.04.tar.xz", 到 $VIMPATH/plugged/YouCompleteMe/third_party/ycmd/clang_archives/ 目录
YcmRestartServer
YcmDiags
YcmDebugInfo
YcmToggleLogs
python installSoftware.py qq
python installSoftware.py wechat
choco install -y fiddler
- 打开 proxy-switchysharp 插件
- 添加 http/https 代理为 127.0.0.1:8888