1
1

More than 3 years have passed since last update.

Macで開発に必要なものを入れる手順メモ

Last updated at Posted at 2019-11-11

はじめに

Macをもらって色々インストールしようとしたら情報が散ってて悲しくなったのでまとめておく。
なお、個別のものは個別の人たちが書いているので基本はまとめるだけ。

インストールしたい人たち

xcode
homebrew
git/gitflow
php/phpbrew

手順

homebrew

homebrew を入れるのにxcodeがいるのでAPP Store よりインストールしておく。
やり方は以下
MacにHomebrewを導入する方法

git

多分macに入っているけど個人的にはbrewで一括管理したいので入れておく。
HomebrewでGitをインストールする

補完およびブランチ名の表示
bashでgitのブランチ名を表示

git flow

brew install git-flow
→下のコマンドで入れないと、finishしたブランチがリモートに残ってうざい

brew install git-flow-avh

タブ補完

brew install git bash-completion
# ~/.bash_profile
. /usr/local/etc/profile.d/bash_completion.sh

phpbrew

エラーでまくるので必要なものはbrewでインストールしましょう。
突っかかりそうなのはbzip2とzlibですのでとりあえずこれ置いときます

phpbrew install 5.6.38 +default +bz2="$(brew --prefix bzip2)" +zlib="$(brew --prefix zlib)"
1
1
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
1
1