# plenvを取得 git clone https://github.com/tokuhirom/plenv.git ~/.plenv/ # Perl-Buildを取得 git clone https://github.com/tokuhirom/Perl-Build.git ~/.plenv/plugins/perl-build/ # 初期設定をする # - Bashを使っている場合 echo 'export PATH=~/.plenv/bin:~/.plenv/shims/:$PATH' >> ~/.bash_profile echo 'eval "$(plenv init -)"' >> ~/.bash_profile # - Zshを使っている場合 echo 'export PATH=~/.plenv/bin:~/.plenv/shims/:$PATH' >> ~/.zshrc