aboutsummaryrefslogtreecommitdiff
path: root/zh/README.md
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2017-09-01 21:08:04 +0800
committerruki <waruqi@gmail.com>2017-09-01 21:08:04 +0800
commit8b852af6034610757a1e5c3df85be480046946a1 (patch)
tree20436c45d98b5be74d1bfa4ffc964ea81cc4e4ff /zh/README.md
parentf75675a69b32137ac29e924d5716dad8abf1d1bc (diff)
downloadxmake-docs-8b852af6034610757a1e5c3df85be480046946a1.tar.gz
xmake-docs-8b852af6034610757a1e5c3df85be480046946a1.zip
update install docs
Diffstat (limited to 'zh/README.md')
-rw-r--r--zh/README.md32
1 files changed, 32 insertions, 0 deletions
diff --git a/zh/README.md b/zh/README.md
index 92908d8b..92211632 100644
--- a/zh/README.md
+++ b/zh/README.md
@@ -154,12 +154,44 @@ $ sudo apt-get install xmake
#### 编译安装
+通过脚本编译安装:
+
```bash
$ git clone git@github.com:waruqi/xmake.git
$ cd ./xmake
$ ./scripts/get.sh __local__
```
+仅仅安装和更新xmake的lua脚本:
+
+```bash
+$ ./scripts/get.sh __local__ __install_only__
+```
+
+卸载:
+
+```bash
+$ ./scripts/get.sh __uninstall__
+```
+
+通过make进行编译安装:
+
+```bash
+$ make build; sudo make install
+```
+
+安装到其他指定目录:
+
+```bash
+$ sudo make install prefix=/usr/local
+```
+
+卸载:
+
+```bash
+$ sudo make uninstall
+```
+
## 快速开始
[![asciicast](https://asciinema.org/a/133693.png)](https://asciinema.org/a/133693)