# 网络代理
再天朝上国使用互联网经常会出现网络问题,此时需要特殊手段来进行配置,以实现正常使用
> [!tips] 因为使用的是`clash` 所以默认的端口为`7890`,有需要自行换

## 前端相关
### npm 配置代理
#### 设置代理
```shell
npm config set proxy http://127.0.0.1:7890
npm config set proxy http://127.0.0.1:7890
```

### yarn 代理设置
```shell
yarn config set proxy  http://127.0.0.1:7890
yarn config set https-proxy http://127.0.0.1:7890
```