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

相關文章
相關標籤/搜索