- 追加された行はこの色です。
- 削除された行はこの色です。
#author("2022-01-18T08:46:22+00:00","default:src128","src128")
&tag(anyenv);
*目次 [#h6ed747b]
#contents
*関連ページ [#o6a44a92]
*参考情報 [#d9090531]
-[[riywo/anyenv:https://github.com/riywo/anyenv]]
*概要 [#a4ccc008]
-rbenv的なツールのWrapper。
*インストール [#s28cf894]
-以下のコマンドでインストール
git clone https://github.com/riywo/anyenv ~/.anyenv
-.zshrcに追加
#pre{{
export PATH="$HOME/.anyenv/bin:$PATH"'
eval "$(anyenv init -)"
}}
-以下のコマンドを実行
$ anyenv init
$ anyenv install --init
-anyenv-updateもインストール
mkdir -p ~/.anyenv/plugins
git clone https://github.com/znz/anyenv-update.git ~/.anyenv/plugins/anyenv-update
-rbenv用の便利プラグインもインストール
git clone https://github.com/sstephenson/rbenv-default-gems.git ~/.anyenv/envs/rbenv/plugins/rbenv-default-gems
echo bundler > ~/.anyenv/envs/rbenv/default-gems
*使用方法 [#p8804ed5]
-envの一覧
anyenv install --list
-envのインストール
anyenv install pyenv
source ~/.zshrc #これがないとpyenvが使えない