mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-09 21:33:23 +08:00
Fix download URL
This commit is contained in:
16
README.md
16
README.md
@@ -147,16 +147,16 @@ $ yay -S chsrc # Build from GitHub Release
|
||||
|
||||
```bash
|
||||
# 非root用户默认安装至 ~/.local/bin
|
||||
$ curl https:/chsrc.run/posix | bash
|
||||
$ curl https://chsrc.run/posix | bash
|
||||
|
||||
# root用户默认安装至 /usr/local/bin
|
||||
$ curl https:/chsrc.run/posix | sudo bash
|
||||
$ curl https://chsrc.run/posix | sudo bash
|
||||
|
||||
# 使用 -d 指定目录安装
|
||||
$ curl https:/chsrc.run/posix | bash -s -- -d ./
|
||||
$ curl https://chsrc.run/posix | bash -s -- -d ./
|
||||
|
||||
# 使用 -l en 输出英文
|
||||
$ curl https:/chsrc.run/posix | bash -s -- -l en
|
||||
$ curl https://chsrc.run/posix | bash -s -- -l en
|
||||
```
|
||||
|
||||
<br>
|
||||
@@ -196,16 +196,16 @@ $ brew install chsrc
|
||||
|
||||
```bash
|
||||
# 非root用户默认安装至 ~/.local/bin
|
||||
$ curl https:/chsrc.run/posix | bash
|
||||
$ curl https://chsrc.run/posix | bash
|
||||
|
||||
# root用户默认安装至 /usr/local/bin
|
||||
$ curl https:/chsrc.run/posix | sudo bash
|
||||
$ curl https://chsrc.run/posix | sudo bash
|
||||
|
||||
# 使用 -d 指定目录安装
|
||||
$ curl https:/chsrc.run/posix | bash -s -- -d ./
|
||||
$ curl https://chsrc.run/posix | bash -s -- -d ./
|
||||
|
||||
# 使用 -l en 输出英文
|
||||
$ curl https:/chsrc.run/posix | bash -s -- -l en
|
||||
$ curl https://chsrc.run/posix | bash -s -- -l en
|
||||
```
|
||||
|
||||
<br>
|
||||
|
Reference in New Issue
Block a user