Folder where the macos cli is installed is incorrect

オープン
#28,376 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
go
領域
cli

調査の方向性

Homebrew を使って ARM Mac へのインストールを再現し、Keybase CLI のシンボリックリンクがどこに作成されるかを調べます。macOS のインストールと CLI セットアップのエントリポイントを追跡し、/opt/homebrew/bin ではなく /usr/local/bin が使用される理由を特定します。完了条件は、手動で zsh を設定しなくても、既存の Homebrew PATH を通じて CLI を利用できることです。

索引モデルが issue の本文から書いたものです。

説明

Describe the bug
I am on a m2 mac machine. The homebrew installation path is /opt/homebrew. But, the keybase-related cli commands are being installed into /usr/local/bin.

To Reproduce
Steps to reproduce the behavior:

  1. Install keybase on an arm mac using homebrew
  2. Run the keybase client
  3. In a Terminal session, list the files in the /usr/local/bin folder - and see that there's a different copy of the command (which is in effect a symbolic link to the same real execuable)
  4. To be able to use the cli, I will then have to manually ensure that the zsh configuration files includes this folder in the PATH env var.

Expected behavior
Since the /opt/homebrew/bin folder is present in the local machine and the PATH environment variable includes that for arm machines, I would have expected the symlink also to be created in that folder.

Screenshots
If applicable, add screenshots to help explain your problem.

Version 6.5.1-20250422141116+19f9cfeddb (6.5.1-20250422141116+19f9cfeddb)

Additional numbers
The number 345567

主要言語
Go
スター
9.3k
フォーク
1.3k
平均マージ
1日 2時間
マージ済み PR(30日)
99

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

keybase/client のほかの issue

keybase/client の issue をすべて見る

似ている issue

Go の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。