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

上一篇:solaris安装oracle遇INS 30131 错误。[INS-30131] Initial setup required for the execution of installer valid


下一篇:如何让Java应用程序获得自己的最新版本?