Skip to content

Instantly share code, notes, and snippets.

@nukosuke
Created April 23, 2016 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nukosuke/f0473692fb00c56a6e3afa471df32366 to your computer and use it in GitHub Desktop.
Save nukosuke/f0473692fb00c56a6e3afa471df32366 to your computer and use it in GitHub Desktop.
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