Skip to content

Commit

Permalink
docs 📝 : 更新README使用文档
Browse files Browse the repository at this point in the history
  • Loading branch information
HerbertHe committed Dec 14, 2020
1 parent 3020cfa commit 5e76a14
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
3 changes: 1 addition & 2 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 15 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,27 @@ nuco后端命令行工具,含commit规范化提交等

## 安装方式

1. 在release中找到最新的发行版
2. 根据不同的平台下载对应的命令行工具
3. 将命令行工具的放置位置加入系统环境变量 (or PATH)
### 类Unix平台

> `nbc.exe`为Windows版, `nbc.darwin``nbc.linux`分别为MacOS和Linux版, 下载之后务必重命名
- `MacOS`

```shell
# MacOS
mv nbc.darwin nbc
wget https://github.com/NucoTech/nuco-backend-cli/releases/latest/download/install.darwin.sh
bash install.darwin.sh
```

- `Linux`

# Linux
mv nbc.linux nbc
```shell
wget https://github.com/NucoTech/nuco-backend-cli/releases/latest/download/install.linux.sh
bash install.linux.sh
```

### Windows平台

-`release`中找到最新发布的`nbc.exe`
- 将下载的`nbc.exe`所在目录加入环境变量PATH

## 注意事项

- Windows平台下请使用cmd而不是powershell,powershell的emoji有显示问题
Expand Down

0 comments on commit 5e76a14

Please sign in to comment.