Skip to content

Instantly share code, notes, and snippets.

@mikesorae
Last active August 29, 2015 14:03
Show Gist options
  • Save mikesorae/bb39082f080c64445e37 to your computer and use it in GitHub Desktop.
Save mikesorae/bb39082f080c64445e37 to your computer and use it in GitHub Desktop.
install anyenv system-widely
#!/bin/bash
cd /usr/local
git clone https://github.com/riywo/anyenv .anyenv
echo 'export PATH="/usr/local/.anyenv/bin:$PATH"' >> /etc/profile
echo 'export ANYENV_ROOT="/usr/local/.anyenv"' >> /etc/profile
echo 'eval "$(anyenv init -)"' >> /etc/profile
exec $SHELL -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment