1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

m1 macへのhomebrewインストール「以前」

1
Posted at

arm64とx86_64の両方のhomebrewを導入するには、事前に以下のふたつをインストールしておく必要がある(順不同)。

  • Rosetta 2
  • command-line-tools

Rosetta 2

sudo softwareupdate --install-rosetta

何故かコマンドラインでの方法がなかなか見付からなかった。

command-line-tools

以下からcommand-line-toolsだけのパッケージをダウンロード(430 MiB程度)してインストールする。

もちろんXcode全体をインストールしてもいいけど、物凄く容量が大きい(ダウンロードだけで11 GiB超え)のでお勧めしない。どのみちhomebrew使うような人ならビルドは全部CUIでやるからXcodeは不要でしょう(偏見)。

それから

これ以降は公式とか「みんなの M1 Mac における Homebrew のベストプラクティスは間違っている」とかを参照。

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?