Merge pull request #444 from Txink/weex-docs

Update docs-setup
diff --git a/docs/guide/develop/setup-develop-environment.md b/docs/guide/develop/setup-develop-environment.md
index e269a9f..6106fe8 100644
--- a/docs/guide/develop/setup-develop-environment.md
+++ b/docs/guide/develop/setup-develop-environment.md
@@ -12,10 +12,19 @@
 

 Run the following commands in a terminal:

 

+### OSX

 ```bash

-$ npm install -g weex-toolkit

-$ weex -v

+$ sudo chmod -R 777 /usr/local/lib/node_modules/

+$ npm i -g weex-toolkit // Do not use sudo

+$ weex -v 

 ```

+

+### Windows

+```bash

+$ npm i -g weex-toolkit 

+$ weex -v 

+```

+

 After the installation is complete, you can use the `weex help` command to verify that the installation is successful. It will display all the commands supported by `weex`. You can also check your local development environment with the `weex doctor` command.

 

 ## Generate a new Weex project

diff --git a/docs/zh/guide/develop/setup-develop-environment.md b/docs/zh/guide/develop/setup-develop-environment.md
index 25bc537..7385243 100644
--- a/docs/zh/guide/develop/setup-develop-environment.md
+++ b/docs/zh/guide/develop/setup-develop-environment.md
@@ -16,14 +16,22 @@
 
 通常,安装了 Node.js 环境,npm 包管理工具也随之安装了。因此,直接使用 npm 来安装 `weex-toolkit`, 你也可以通过 `yarn` 来进行安装。
 
-国内的开发者推荐将npm镜像切换至 [Taobao NPM 镜像](https://registry.npm.taobao.org)。
+国内的开发者推荐将npm镜像切换至 Taobao NPM 镜像 `https://registry.npm.taobao.org`。
 
 :::
 
 运行下面的命令安装最新的beta版本工具:
 
+### OSX环境
 ```bash
-$ npm install -g weex-toolkit@beta
+$ sudo chmod -R 777 /usr/local/lib/node_modules/
+$ npm i -g weex-toolkit // 安装不要使用sudo执行
+$ weex -v // 查看当前weex工具版本
+```
+
+### Windows环境
+```bash
+$ npm i -g weex-toolkit 
 $ weex -v // 查看当前weex工具版本
 ```