Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
setup perl env
#!/bin/sh
git clone https://github.com/tokuhirom/plenv.git $HOME/.plenv
echo 'export PATH="$HOME/.plenv/bin:$PATH"' >> $HOME/.bashrc
echo 'eval "$(plenv init -)"' >> $HOME/.bashrc
PATH=$HOME/.plenv/bin:$PATH
eval "$(plenv init -)"
git clone https://github.com/tokuhirom/Perl-Build.git $HOME/.plenv/plugins/perl-build/
plenv install 5.22.1
plenv global 5.22.1
plenv install-cpanm
cpanm Carton
cpanm Minilla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment