luckypool / Brewfile

Bacis Brewfile

Home Page:http://luckypool.github.io/Brewfile/slides

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brewfile

Bacis Brewfile

http://luckypool.github.io/Brewfile/slides

Prepare

Create Apple ID

https://developer.apple.com/register/index.action

Install Xcode (Command Line Tools)

Install from App Store

Agree License

  • run Xcode.app and Agree
  • or do sudo xcodebuild -license

Install Command Line Tools

  • by CUI (open Terminal.app and do following command)
$ xcode-select --install
  • or download manually
open Xcode.app > Open Developer tool > More Developer tool

Setup Homebrew

$ git clone https://github.com/luckypool/Brewfile.git
$ cd Brewfile
$ rake brew:setup

Then, install homebrew

Install packages by Brewfile

$ rake brew:brewdle

Package list

Memo : documents/Brewfile.md

Please choose Brewfile or edit Brewfile as you like.

Install anyenv

Setup

$ rake anyenv:setup

Then, add to your .bash_profile or .zshrc

export PATH="$HOME/.anyenv/bin:$PATH"
eval "$(anyenv init -)"
for D in `ls $HOME/.anyenv/envs`
do
    export PATH="$HOME/.anyenv/envs/$D/shims:$PATH"
done

then, do exec $SHELL -l

Install plenv, rbenv, and ndenv

$ rake anyenv:install

then, do exec $SHELL -l

Build Perl, Ruby, and Node

$ rake anyenv:build

will install

  • Perl 5.14.4
  • Ruby 2.1.0
  • Node.js v0.10.25

Rake tasks

anyenv:setup         -- setup anyenv
anyenv:install       -- install plenv, rbenv, ndenv
anyenv:build         -- build perl, ruby, node.js
brew:setup           -- setup homebrew
brew:brewdle         -- brewdle (minimal packages)
brew:brewdle_all     -- brewdle (recommended packages)
brew:brewdle_android -- brewdle (only android development packages)
brew:upgrade         -- upgrade task (update, upgrade, and cleanup)```

About

Bacis Brewfile

http://luckypool.github.io/Brewfile/slides


Languages

Language:Ruby 100.0%