---
# System prepended metadata

title: Windows 环境配置

---

# Windows 环境配置

## 开发

### 工具

[VSCode](https://code.visualstudio.com/)

### Chocolatey

```shell=
# 管理身份 powershell
# Restricted 需要修改为 AllSigned
Get-ExecutionPolicy
# AllSigned
Set-ExecutionPolicy AllSigned

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'))
```

## app

[Chrome](https://www.google.com/chrome/)

[MobaXterm](https://mobaxterm.mobatek.net/)

[MSYS2-pacman](https://www.msys2.org/)

### 装系统

[DiskGenius](https://www.diskgenius.com/download.php)

### 监控

- TrafficMonitor
    - [zhongyang219/TrafficMonitor](https://github.com/zhongyang219/TrafficMonitor)
    - ![GitHub Repo stars](https://img.shields.io/github/stars/zhongyang219/TrafficMonitor)

## 代理

[Clash for Windows](https://github.com/Fndroid/clash_for_windows_pkg)

### 命令行

```shell=
# powershell
$env:HTTP_PROXY="http://127.0.0.1:7890"

# cmd
set http_proxy=http://127.0.0.1:1080

```

## 设置

### 修改默认存储位置

可以修改将应用默认保存在D盘

![](https://i.imgur.com/C0HBZmW.png)

