環境
- MacBook Pro(Touch Bar搭載)
- macOS Sierra(10.12.1)
買ったばかりのまっさらマシンです。
Homebrewインストール
Qiitaを見ているとJavaやXcodeインストールと書いてあるけど、とりあえず何もせずにターミナルにHomebrewの
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
をコピペしたら
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir -p /Library/Caches/Homebrew
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> /usr/bin/sudo /usr/sbin/chown xxxxxx/Library/Caches/Homebrew
==> Searching online for the Command Line Tools
==> /usr/bin/sudo /usr/bin/touch /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> Installing Command Line Tools (macOS Sierra version 10.12) for Xcode-8.1
==> /usr/bin/sudo /usr/sbin/softwareupdate -i Command\ Line\ Tools\ (macOS\ Sierra\ version\ 10.12)\ for\ Xcode-8.1
Software Update Tool
Copyright 2002-2015 Apple Inc.
Downloading Command Line Tools (macOS Sierra version 10.12) for Xcode
Downloaded Command Line Tools (macOS Sierra version 10.12) for Xcode
Installing Command Line Tools (macOS Sierra version 10.12) for Xcode
Done with Command Line Tools (macOS Sierra version 10.12) for Xcode
Done.
==> /usr/bin/sudo /bin/rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress
==> /usr/bin/sudo /usr/bin/xcode-select --switch /Library/Developer/CommandLineTools
==> Downloading and installing Homebrew...
remote: Counting objects: 7, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 7 (delta 5), reused 7 (delta 5), pack-reused 0
Unpacking objects: 100% (7/7), done.
From https://github.com/Homebrew/brew
+ 697340f...29aa1c8 master -> origin/master (forced update)
HEAD is now at 29aa1c8 Merge pull request #1621 from MikeMcQuaid/xcode-version-cleanup
Updated 2 taps (caskroom/cask, homebrew/core).
==> Cleaning up /Library/Caches/Homebrew...
==> Migrating /Library/Caches/Homebrew to /Users/xxxxxx/Library/Caches/Homebrew...
==> Deleting /Library/Caches/Homebrew...
==> New Formulae
tomcat@6 tomcat@7
==> Updated Formulae
argyll-cms ffmpeg javarepl mutt tccutil vala
chruby-fish git-lfs jenkins neo4j terragrunt vim
coffeescript grib-api minio-mc roswell the_silver_searcher
conan jasper mu scala treefrog
==> Installation successful!
==> Homebrew has enabled anonymous aggregate user behaviour analytics.
Read the analytics documentation (and how to opt-out) here:
https://git.io/brew-analytics
==> Next steps:
- Run `brew help` to get started
- Further documentation:
https://git.io/brew-docs
あれ?終わった?
アプリにXcodeは入ってないけどライブラリのDeveloperフォルダにCommandLineToolsは入ってるな。
とりあえずあとでもろもろ検証・・・