Skip to content

Commit

Permalink
macOS 更新Homebrew安装方式
Browse files Browse the repository at this point in the history
  • Loading branch information
vouv committed Dec 19, 2020
1 parent 5e1d7af commit 281dd85
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,32 @@

## Install

1. go get

如果已经[安装并配置GO环境](https://golang.google.cn/doc/install), 执行如下命令即可
1. Homebrew(macOS(big_sur) only)

```bash
go get -u -v github.com/vouv/srun/cmd/srun
$GOPATH/bin/srun config
$ brew tap vouv/tap
$ brew install srun
```

2. Download [Release](https://github.com/vouv/srun/releases/latest)
2. Curl(for Linux amd64) [Release](https://github.com/vouv/srun/releases/latest)

下载可执行文件
```bash
# linux
curl -L -o srun https://github.com/vouv/srun/releases/latest/download/srun-linux
chmod +x srun
./srun config
```

3. go get

如果已经[安装并配置GO环境](https://golang.google.cn/doc/install), 执行如下命令即可

```bash
go get -u -v github.com/vouv/srun/cmd/srun
$GOPATH/bin/srun config
```


## Usage

### Show Help
Expand Down Expand Up @@ -92,6 +99,10 @@ IP地址: 10.51.92.21

## Update Log

2020.12.18

- 自动构建切换到Github Actions

2020.11.3

- 优化新版登录逻辑
Expand Down

0 comments on commit 281dd85

Please sign in to comment.