�ˤҤꤺ��::����פ� - homebrew �Ǻ���¤�������Ϥ���Ƥ����äƤ�� (original) (raw)

��´�����ʤ󤿤饫�������� X���ܤǤ���

���⤽�� homebrew �ȤäƤʤ�

�ޤ� Xcode �������ɬ�פ����롣Xcode �� App Store ���饤�󥹥ȡ��뤷�ơ� Preference �� Downloads �� Components �� Command Line Tools �򥤥󥹥ȡ��롣

�������餪�����˰ʲ��Υ��ޥ�ɤ��Ǥ�

$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"

�����ޤ���

sl

$ brew install sl

ɬ�ܥ��ޥ�ɡ�

zsh

$ brew install --disable-etcdir zsh

OS X �� PATH �򥴥˥祴�˥����Ƥफ�Ĥ��Τ� /etc/zshenv ���ɤޤʤ��褦�� --disable-etcdir �դ��ǥ��󥹥ȡ��롣

zsh-completions

$ brew install zsh-completions

zsh-completions �ϥ��󥹥ȡ�����

$ echo 'fpath=(/usr/local/share/zsh-completions $fpath)' >> ~/.zshrc $ source ~/.zshrc $ rm -f ~/.zcompdump; compinit

���Ƥ���

tmux

$ brew install tmux

�긵�Ǥ� tmux�������С��Ǥ� screen �ɡ�
�Ǥ�ºݶŤä����Ȥ�����Ȥ���� screen ����ʤ��ȤǤ��ʤ����Ȥ�¿������ΤǤ������ʤ�Τ���

reattach-to-user-namespace

$ brew install reattach-to-user-namespace

tmux �Ĥ��ä��Ȥ��ˤ�����̤��ʤ��� pbcopy �� pbpaste ���Ȥ��ʤ��ƻ�̡�OS X �� tmux ��Ȥ��Τ϶�Ԥ���

set -g default-command reattach-to-user-namespace -l zsh

�Ȥ��� ~/.tmux.conf �˽񤯡�

gnu-tar

$ brew install --default-names gnu-tar

�ǥե���Ȥ� tar ����äƤ���Τǡ�gnu-tar �򥤥󥹥ȡ��롣���̤ˤ��� gtar �ˤʤäƤ��ޤ��Τǡ�--default-names �դ��ǡ�

tree

$ brew install tree

�ʤ󤫥ǥե������äƤʤ�

watch

$ brew install watch

�ʤ󤫥ǥե������äƤʤ�

colordiff

$ brew install colordiff

diff �Ͽ��դ��Ǹ���������󤹤���

���Ȥ� .zshrc �Ȥ���

alias diff='colordiff' alias less='less -R'

�Ȥ��Ǥ��Ƥ����Ф褤

htop-osx

OS X �� top ��ʵ������Τ� htop ������롣

$ brew install htop-osx

pstree

Linux �Ȱ�ä� ps auxf ���Ȥ��� tree ɽ���Ǥ��ʤ��Τ�����롣

$ brew install pstree

the_silver_searcher

$ brew install the_silver_searcher

the_silver_searcher �� ack ��Ķ®��������Ĥ� ag ���ޥ�ɤ����󥹥ȡ��뤵��롣�������͡��Ȥ����� ack �Ȱ�

groff

$ brew tap homebrew/dupes $ brew install groff

OS X �Υǥե���Ȥ��ȥޥ���Х��Ȱ����ʤ��Τ�����Ƥ���

vim

$ brew install vim

��ʬ�� vim ��

lv

$ brew install lv

�ºݤΤȤ��� less �ǻ�­��Ƥ�����

git

$ brew install git

�Ƕ��Ǥ�Ȥ������ΤǤ���

tig

$ brew install tig

git �� CLI �֥饦���������ޤ˻Ȥ���

hub

$ brew install hub

git ���ޥ�ɤ� github �ե��ɥ꡼�ˤ����åѡ���hub clone -p author/project ���餤�����ȤäƤʤ����ɰ����

wget

$ brew install wget

�ʤ��Ƥ������Ƥ����뤱�ɡ����ä��餢�ä��Ǥ褤��

sqlite

$ brew install sqlite

�����ܤΤ�ĻȤ�������

memcached

$ brew install memcached

�ۤܥ��ץ�Υƥ��Ȼ���Ω���夲������

redis

$ brew install redis

�Ƕ��Ω���夲��Ȥɡ�����ȥ������Ф�ΤǤ������� Ctrl-C ���Ƥ롣

dnsmasq

$ brew install dnsmasq

���ޡ��� *.foo.bar �������ʥɥᥤ����褷�����Ȥ��˥������� dns �����С��Ȥ������ѡ�

ngrep

$ brew install ngrep

���դ�� HTTP ����Ϥ������Ȥ��ѡ�

cmake

$ brew install cmake

�Ƕ�Υ��եȥ������� cmake ��ɬ�פʤ��Ȥ�¿����Ǥ��äƤ������

node

$ brew intall node

����ޤ�ܤ����ʤ��Τ� brew �Ǥ���Ƥ��뤱�ɡ��ܤ����ͤ�ʹ�����ۤ����������⤷��ʤ���

python

$ brew intall python

����ޤ�ܤ����ʤ��Τ� brew �Ǥ���Ƥ��뤱�ɡ��ܤ����ͤ�ʹ�����ۤ����������⤷��ʤ���

������

���ȤϼѤ�ʤ�Ƥ��ʤꤪ�����ˤɤ�����

rbenv �Ȥ� plenv �Ȥ��ϼ��Ϥ� $HOME �۲�������ƻȤäƤ봶���ʤΤǤ���Ƥޤ��󡪤��Ȥ� mysql �Ȥ��ϺǶ�� mysqlenv �äƤκ�ä��ΤǤ���Ĥ��äƤޤ��� brew install mysql �Ǥ⤤���Ȼפ��ޤ���

���������ʤȤ���ä���

$ brew doctor

�ޤ���

$ rm -rf /usr/local/Cellar /usr/local/.git && brew cleanup

����кǽ餫����ľ���롣

Happy brewing life!