Windows 11 重灌

2021-11-01
1 min read

恢復備份

  • %userprofile%/.config
  • %userprofile%/.ssh
  • %userprofile%/.bash_profile
  • %userprofile%/.bashrc
  • %userprofile%/.gitconfig
  • %userprofile%/.vimrc

安裝 Chocolatey

先安裝 Chocolatey ,根據 https://chocolatey.org/install ,用 Administrator 權限打開 Terminal ,輸入以下指令安裝:

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 --yes

可以在 https://community.chocolatey.org/packages 找到其他工具,再加到清單後面即可。

上面的指令安裝了下列的軟體,可以依自己需求增刪:

升級軟體

choco upgrade all -y
Avatar

Awin Huang

有物混成,先天地而生,寂兮寥兮,獨立而不改,周行而不殆,可以為天下母。吾不知其名,字之曰道。
comments powered by Disqus