当前位置:首页 > 操作系统 > MacOs

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


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!

相关教程推荐

其他课程推荐