diff options
| author | ruki <[email protected]> | 2017-04-20 14:34:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2017-04-20 14:34:27 +0800 |
| commit | 212c890edf70f9f9b18543ec2879678f534ce244 (patch) | |
| tree | 78a6c54499cb94a0aee5afea1af67fe990604c45 | |
| parent | 9c2b53f3253cc6a2a4cf479cf363b6c0d539fed0 (diff) | |
add install master version in README
| -rw-r--r-- | docs/README.md | 34 | ||||
| -rwxr-xr-x | docs/zh/README.md | 34 |
2 files changed, 60 insertions, 8 deletions
diff --git a/docs/README.md b/docs/README.md index b26724e29..b2b83e6f2 100644 --- a/docs/README.md +++ b/docs/README.md @@ -15,12 +15,18 @@ so that any developer can quickly pick it up and enjoy the productivity boost wh ## Installation -##### Windows +#### Windows 1. Download xmake windows installer from [Releases](https://github.com/tboox/xmake/releases) 2. Run xmake-[version].exe -##### MacOS +Or install master version in powershell: + +```bash +$ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content +``` + +#### MacOS ```bash $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" @@ -32,7 +38,17 @@ Or 1. Download xmake `.pkg` install package from [Releases](https://github.com/tboox/xmake/releases) 2. Run it -##### Linux +Or install master version: + +```bash +# use homebrew +$ brew install xmake --HEAD + +# or download install directly +$ bash <(curl -s https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh) +``` + +#### Linux Using Linuxbrew: @@ -79,7 +95,17 @@ On Redhat/Centos: 1. Download xmake `.rpm` install package from [Releases](https://github.com/tboox/xmake/releases) 2. Run `yum install xmake-xxx.rpm --nogpgcheck` -##### Compilation +Or install master version: + +```bash +# use linuebrew +$ brew install xmake --HEAD + +# or download install directly +$ bash <(curl -s https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh) +``` + +#### Compilation ```bash $ git clone [email protected]:waruqi/xmake.git diff --git a/docs/zh/README.md b/docs/zh/README.md index 0ed8fb316..ca9d56fc6 100755 --- a/docs/zh/README.md +++ b/docs/zh/README.md @@ -22,12 +22,18 @@ xmake的目标是开发者更加关注于项目本身开发,简化项目的描 ## 安装 -##### Windows +#### Windows 1. 从 [Releases](https://github.com/tboox/xmake/releases) 上下载windows安装包 2. 运行安装程序 xmake-[version].exe -##### MacOS +或者在powershell中安装master版本: + +```bash +$ Invoke-Expression (Invoke-Webrequest 'https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.ps1' -UseBasicParsing).Content +``` + +#### MacOS ```bash $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" @@ -39,7 +45,17 @@ $ brew install xmake 1. 从 [Releases](https://github.com/tboox/xmake/releases) 上下载pkg安装包 2. 双击运行 -##### Linux +或者安装master版本: + +```bash +# 使用homebrew安装master版本 +$ brew install xmake --HEAD + +# 或者直接调用shell下载安装 +$ bash <(curl -s https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh) +``` + +#### Linux 使用linuxbrew安装: @@ -86,7 +102,17 @@ $ sudo apt-get install xmake 1. 从 [Releases](https://github.com/tboox/xmake/releases) 上下载rpm安装包 2. 运行: `yum install xmake-xxx.rpm --nogpgcheck` -##### 编译安装 +或者安装master版本: + +```bash +# 使用linuxbrew安装master版本 +$ brew install xmake --HEAD + +# 或者直接调用shell下载安装 +$ bash <(curl -s https://raw.githubusercontent.com/tboox/xmake/master/scripts/get.sh) +``` + +#### 编译安装 ```bash $ git clone [email protected]:waruqi/xmake.git |
