LoginSignup
16
14

More than 5 years have passed since last update.

Yosemiteでの個人的な環境構築メモ

Posted at

Yosemiteをクリーンインストールしたので、諸々問題なくインストールできるか試しました。

諸々アプリをインストール

Xcode

App Storeからインストール

iTerm2

お好みで。
http://iterm2.com/

MacVim

お好みで。
https://code.google.com/p/macvim-kaoriya/

Virtualbox

Vagrant用。
https://www.virtualbox.org/wiki/Downloads

Vagrant

とても便利。
https://www.vagrantup.com/

Xcodeのコマンドラインツール

xcode-select --install

Homebrew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

git

brew install git
git config --global color.ui true
git config --global user.name "hayori"
git config --global user.email hayori@example.com
git config --global push.default simple

自分の設定ファイル集を持ってくる

cd ~
git clone git@github.com:hayori/dotfiles.git dotfiles

zsh

brew install zsh --disable-etcdir
brew install zsh-completions
sudo sh -c "echo '/usr/local/bin/zsh' >> /etc/shells"
chsh -s /usr/local/bin/zsh

設定ファイル集から設定ファイルリンク

cd dotfiles/zsh
sh init.sh

vim設定

設定ファイルをリンク

cd dotfiles/vim
sh init.sh

vimプラグインを管理するプラグインNeobundleをインストール

mkdir -p ~/.bundle
git clone https://github.com/Shougo/neobundle.vim ~/.bundle/neobundle.vim

vim上で以下を実行。プラグインを導入する。

:NeoBundleInstall

vimprocをコンパイル

cd ~/.bundle/vimproc/
make

tmux

brew install tmux
brew install reattach-to-user-namespace

設定ファイルをリンク

cd dotfiles/tmux
sh init.sh

Ruby

rbenvのシェル設定は.zshenvに書いてあるのでそれ参照のこと。

brew install rbenv ruby-build rbenv-gemset readline openssl
rbenv install --list
CONFIGURE_OPTS="--with-readline-dir=`brew --prefix readline` --with-openssl-dir=`brew --prefix openssl` --with-gcc=clang" rbenv install 2.1.4
rbenv global 2.1.4
rbenv rehash

wget

brew install wget

tree

brew install tree

pstree

brew install pstree

htop

topの代わりに。実行時は sudo htop

brew install htop-osx
sudo chmod u+s /usr/local/Cellar/htop-osx/0.8.2.2/bin/htop
16
14
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
16
14