$ git clone https://github.com/riywo/anyenv ~/.anyenv $ echo 'export PATH="$HOME/.anyenv/bin:$PATH"' >> ~/.your_profile $ echo 'eval "$(anyenv init -)"' >> ~/.your_profile $ exec $SHELL -l #### $ anyenv install plenv #### $ plenv install -l #to show installable perl versions $ plenv install 5.24.0 #install the 5.24.0 $ plenv global 5.24.0 #set the 5.24.0 as default perl for you #### #!/usr/bin/perl to #!/usr/bin/env perl