diff --git a/doc/install-dependencies.md b/doc/install-dependencies.md index 66008de4e8a3..176fa2903530 100644 --- a/doc/install-dependencies.md +++ b/doc/install-dependencies.md @@ -150,6 +150,9 @@ nohup etcd & # install OpenResty, etcd and some compilation tools brew install openresty/brew/openresty etcd luarocks curl git +# install LuaRocks +curl https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh -sL | bash - + # start etcd server etcd & diff --git a/doc/zh-cn/install-dependencies.md b/doc/zh-cn/install-dependencies.md index f58855627362..f64d17e25de1 100644 --- a/doc/zh-cn/install-dependencies.md +++ b/doc/zh-cn/install-dependencies.md @@ -149,6 +149,9 @@ nohup etcd & # 安装 OpenResty, etcd 和 编译工具 brew install openresty/brew/openresty etcd luarocks curl git +# 安装 LuaRocks +curl https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh -sL | bash - + # 开启 etcd server etcd &