rbenv mac&&linux 安装简单说明

mac

可以通过brew

linux

官方提供了运行脚本

# with curl
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer | bash
# alternatively, with wget
wget -q https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-installer -O- | bash

安装检查

# with curl
curl -fsSL https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor | bash
# alternatively, with wget
wget -q https://github.com/rbenv/rbenv-installer/raw/master/bin/rbenv-doctor -O- | bash

说明

对于使用shell脚本安装的需要配置环境变量,安装完成之后会有提示

参考资料

https://github.com/rbenv/rbenv-installer

posted on 2019-06-28 20:35  荣锋亮  阅读(579)  评论(0编辑  收藏  举报

导航