LoginSignup
11
9

More than 3 years have passed since last update.

anyenvをシステムワイドにインストールする

Last updated at Posted at 2014-09-09

雑めも

ANYENV_ROOTを設定しないと
anyenv install -l
で何も表示されなかった。

cd /opt
git clone https://github.com/riywo/anyenv
echo 'export PATH="/opt/anyenv/bin:$PATH"' >> /etc/profile.d/anyenv.sh
echo 'export ANYENV_ROOT="/opt/anyenv"' >> /etc/profile/anyenv.sh
echo 'eval "$(anyenv init -)"' >> /etc/profile
exec $SHELL -l

実行環境はcent6.5

11
9
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
11
9