brew caskでフォントを入れる方法
brew cask
でフォントを入れようとしたら...
λ brew cask install font-hasklig
Updating Homebrew...
Error: Cask 'font-hasklig' is unavailable: No Cask with this name exists.
怒られました...
調べると, この記事にあるようにbrew tap
しないといけないらしい.
brew tap caskroom/fonts
Updating Homebrew...
Error: caskroom/fonts was moved. Tap homebrew/cask-fonts instead.
続・怒られました...
言われた通りbrew tap homebrew/cask-fonts
に修正して再度tap
します.
λ brew tap homebrew/cask-fonts
Updating Homebrew...
==> Tapping homebrew/cask-fonts
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask-fonts'...
remote: Enumerating objects: 12, done.
remote: Counting objects: 100% (12/12), done.
remote: Compressing objects: 100% (12/12), done.
remote: Total 32835 (delta 4), reused 0 (delta 0), pack-reused 32823
Receiving objects: 100% (32835/32835), 5.57 MiB | 615.00 KiB/s, done.
Resolving deltas: 100% (23829/23829), done.
Tapped 947 casks (996 files, 7.2MB).
おっ!
では念願の...
λ brew cask install font-hasklig
Updating Homebrew...
==> Downloading https://github.com/i-tu/Hasklig/releases/download/1.1/Hasklig-1.1.zip
==> Downloading from https://github-production-release-asset-2e65be.s3.amazonaws.com/1848782
######################################################################## 100.0%
==> Verifying SHA-256 checksum for Cask 'font-hasklig'.
==> Installing Cask font-hasklig
==> Moving Font 'Hasklig-SemiboldIt.otf' to '/Users/***/Library/Fonts/Hasklig-SemiboldIt.o
==> Moving Font 'Hasklig-BlackIt.otf' to '/Users/***/Library/Fonts/Hasklig-BlackIt.otf'.
==> Moving Font 'Hasklig-Bold.otf' to '/Users/***/Library/Fonts/Hasklig-Bold.otf'.
==> Moving Font 'Hasklig-BoldIt.otf' to '/Users/t***/Library/Fonts/Hasklig-BoldIt.otf'.
==> Moving Font 'Hasklig-ExtraLight.otf' to '/Users/***/Library/Fonts/Hasklig-ExtraLight.o
==> Moving Font 'Hasklig-ExtraLightIt.otf' to '/Users/***/Library/Fonts/Hasklig-ExtraLight
==> Moving Font 'Hasklig-It.otf' to '/Users/***/Library/Fonts/Hasklig-It.otf'.
==> Moving Font 'Hasklig-Light.otf' to '/Users/***/Library/Fonts/Hasklig-Light.otf'.
==> Moving Font 'Hasklig-LightIt.otf' to '/Users/***/Library/Fonts/Hasklig-LightIt.otf'.
==> Moving Font 'Hasklig-Medium.otf' to '/Users/***/Library/Fonts/Hasklig-Medium.otf'.
==> Moving Font 'Hasklig-MediumIt.otf' to '/Users/***/Library/Fonts/Hasklig-MediumIt.otf'.
==> Moving Font 'Hasklig-Regular.otf' to '/Users/***/Library/Fonts/Hasklig-Regular.otf'.
==> Moving Font 'Hasklig-Semibold.otf' to '/Users/***/Library/Fonts/Hasklig-Semibold.otf'.
==> Moving Font 'Hasklig-Black.otf' to '/Users/***/Library/Fonts/Hasklig-Black.otf'.
🍺 font-hasklig was successfully installed!
やったぜ!