installメモ。ついでに、パッケージマネージャーHomebrew使いたい(Macを新しく購入して入れてなかった)。xcodeは入手済み。
1).Command Line Toolsインストール
以下を叩くとウィンドウが立ち上がるので、インストールを選択
$ xcode-select --install
xcode-select: note: install requested for command line developer tools
2).Homebrewインストール
http://brew.sh/index_ja.html
以下のコマンドでインストール
$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1
Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/mkdir /usr/local
Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
==> /usr/bin/sudo /bin/mkdir /Library/Caches/Homebrew
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
==> Downloading and installing Homebrew...
remote: Counting objects: 225791, done.
remote: Compressing objects: 100% (59365/59365), done.
remote: Total 225791 (delta 165214), reused 225738 (delta 165178)
Receiving objects: 100% (225791/225791), 51.65 MiB | 236.00 KiB/s, done.
Resolving deltas: 100% (165214/165214), done.
From https://github.com/Homebrew/homebrew
* [new branch] master -> origin/master
HEAD is now at 53c9c02 texapp 0.6.9
==> Installation successful!
==> Next steps
Run `brew doctor` before you install anything
Run `brew help` to get started
上記結果の指示通り叩く
$ brew doctor
Your system is ready to brew.
3).Rictyインストール
http://te2u.hatenablog.jp/entry/2014/07/14/211918
こちらを参考にインストール
$ brew tap sanemat/font
$ brew install ricty
上記コマンドの最後に次の作業が表示されるので、叩く
$ cp -f /usr/local/Cellar/ricty/3.2.4/share/fonts/Ricty*.ttf ~/Library/Fonts/
$ fc-cache -vf
ターミナルのfontに設定してイイ感じ。