Windows 开发环境

1. 基础工具

1.1. 网络工具

Clash Verge

1.2. IDE

  • 下载并安装 VSCode 或者通过 Microsoft Store
  • 登录微软账号,开启配置同步,注意配置不同步 UI状态

1.3. Windows Powershell

1
2
3
4
5
# 创建 profile
New-Item -Path $PROFILE -Type File

# 配置执行策略, 参考 https:/go.microsoft.com/fwlink/?LinkID=135170
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser

1.4. WSL(Windows Subsystem for Linux)

安装 WSL

1.5. Windows Terminal

Windows Terminal的美化

1.6. Docker Desktop

下载并安装 Docker Desktop

1.7. Git

安装和配置:

1
2
3
4
5
6
# 安装
winget install --id Git.Git -e --source winget

# 配置
git config --global user.name "Michael Ding"
git config --global user.email "yandy.ding@gmail.com"

自动补全:

1
2
3
4
5
6
7
8
9
# 安装
Install-Module -Name posh-git -Repository PSGallery -Scope CurrentUser

# 配置 $PROFILE
Add-Content -Path $PROFILE -Value @'
# posh-git
Import-Module -Name posh-git

'@

1.8. 7-zip

安装 7-zip

1
winget install --id 7zip.7zip -e --source winget

1.9. Custom Cmdline

1
2
3
4
5
6
7
mkdir "$HOME\AppData\Local\CmdTools"

Add-Content -Path $PROFILE -Value @'
# cmdline tools
$env:PATH = "$HOME\AppData\Local\CmdTools;$env:PATH"

'@

2. Language

作者

Michael Ding

发布于

2024-10-06

更新于

2024-10-06

许可协议