Skip to content

Commit a7403d3

Browse files
committed
docs(linux): 更新国内Linux环境安装文档
- 将 chsrc 项目链接格式由 https 改为 markdown 格式 - 删除冗余空行,优化文档结构 - 添加 Docker 官方安装脚本说明 - 更新 homebrew 源安装指引中的链接格式
1 parent 6becb42 commit a7403d3

1 file changed

Lines changed: 10 additions & 6 deletions

File tree

linux/国内linux环境安装.md

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,18 @@
22

33
使用chsrc项目可以换各种系统源和软件源
44

5-
https://github.com/RubyMetric/chsrc
5+
<https://github.com/RubyMetric/chsrc>
66

77
```
88
curl -LO https://gitee.com/RubyMetric/chsrc/releases/download/pre/chsrc_latest-1_amd64.deb
99
sudo apt install ./chsrc_latest-1_amd64.deb
1010
```
1111

12-
13-
14-
15-
1612
## 2.安装homebrew
1713

1814
可以用清华的homebrew源安装
1915

20-
https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/
16+
<https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/>
2117

2218
在终端输入以下几行命令设置环境变量:
2319

@@ -57,3 +53,11 @@ fnm use 22
5753
5854
```
5955

56+
## 4. docker安装
57+
58+
可以用官网的安装脚本
59+
60+
```bash
61+
curl -fsSL https://get.docker.com -o get-docker.sh
62+
sudo sh get-docker.sh
63+
```

0 commit comments

Comments
 (0)