Skip to content

Instantly share code, notes, and snippets.

@hagino3000
Created April 29, 2011 09:21
Show Gist options
  • Save hagino3000/948093 to your computer and use it in GitHub Desktop.
Save hagino3000/948093 to your computer and use it in GitHub Desktop.
Setup my mac
chsh -s /opt/local/bin/zsh
mkdir dev
cd dev
hg clone https://bitbucket.org/hagino_3000/confs
cd confs
./pull.sh
#!/bin/bash
brew install zsh
brew install git
brew install mercurial
brew install -f vim
brew install python
brew install wget
brew install tree
brew install octave
pip install virtualenv
pip install sphinx
#sudo sh -c "echo '/usr/local/bin/zsh' >> /etc/shells"
#chsh -s /usr/local/bin/zsh
#nodebrew
curl https://raw.github.com/hokaccha/nodebrew/master/nodebrew | perl - setup
#pythonbrew
curl -kL http://xrl.us/pythonbrewinstall | bash
# Install perlbrew
curl -L http://xrl.us/perlbrewinstall | bash
# Install perl
perlbrew install perl-5.10.1
perlbrew switch perl-5.10.1
rehash
# Install cpanm
perlbrew install-cpanm
cpanm App::pmuninstall
cpanm App::cpanoutdated
cpanm Devel::REPL
cpanm File::Next
cpanm B/Keywords.pm
cpanm Term::ReadLine::Stub
cpanm Term::ReadLine::Perl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment