rbenv mac&&linux 安装简单说明

mac

能够经过brewlinux

linux

官方提供了运行脚本git

# 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脚本安装的须要配置环境变量,安装完成以后会有提示github

参考资料

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

相关文章
相关标签/搜索