4.3 KiB
4.3 KiB
要保存/恢復的檔案
%userprofile%/.config%userprofile%/.ssh%userprofile%/.bash_profile%userprofile%/.bashrc%userprofile%/.gitconfig%userprofile%/.vimrc
安裝工具
安裝 Chocolatey
- 安裝Chocolatey,用Administrator身份打開powershell,輸入下列指令:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
- 用安裝常用的工具
choco install powertoys 7zip vscode hxd sublimetext4 androidstudio intellijidea-community git winmerge freefilesync freedownloadmanager gsudo firacode cascadiacode sourcecodepro delta googlechrome googledrive enpass.install sharex win32diskimager k-litecodecpackmega obsidian anki enpass.install --yes
可以在 https://community.chocolatey.org/packages 找到其他工具,再加到清單後面即可。
上面的指令安裝了下列的軟體,可以依自己需求增刪:
- powertoys
- 7zip
- vscode
- hxd
- sublimetext4
- androidstudio
- intellijidea-community
- git
- winmerge
- freefilesync
- freedownloadmanager
- gsudo
- firacode
- cascadiacode
- sourcecodepro
- delta
- googlechrome
- googledrive
- enpass.install
- sharex
- win32diskimager
- k-litecodecpackmega
- obsidian
- anki
- Enpass Password Manager
用 Chocolatey 升級軟體
choco upgrade all -y
手動安裝
- Python 3.6.3
- Python 3.9
- Visual Studio 2022
- Office 365
- Lightroom
- ShareX
- win32diskimager
- 卡巴斯基
- 字型
- [Caskaydia](\diskstation\share\Tools\字型\Caskaydia Cove Nerd Font)
~/.bashrc
- 打開
~/.bashrc。 - 內容如05. 資料收集/軟體工具、設定/bashrc
Setup Windows Terminal
- 開啟Windows Terminal。
- 按
ctrl + ,打開設定,之後參考Windows Terminal。
恢復右鍵選單
- 以admin身份打開PowerShell,執行
reg add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve - 要恢復Windows 11的右鍵選單則是執行:
reg delete "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}" /f
設定使用者環境變數
PYTHON_INCLUDE:C:\Python363\includePYTHON_LIB:C:\Python363\libsRobotRunCommonLib:C:\Users\awinh\OneDrive\codes\CommonLib\RobotRunCommonLibSWIGCmd:C:\Users\awinh\OneDrive\PortableApps\swigwin-4.0.2\swig.exe