0
0

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 1 year has passed since last update.

figコマンドを事項するとfig command not foundになる

Last updated at Posted at 2024-01-16

概要

下記の理由からfigを入れ直し、ターミナルで使えることを確認後、Macを再起動したところfig command not foundになった。筆者の環境でこれを解決するための方法を簡単にまとめる。

方法

  1. どこかにfigコマンドの実態があるはずなのでちょっと探してみる。ユーザーのトップのディレクトリに.fig/を発見した。

  2. 下記の内容を~/.bashrcに記載する。

    ~/.bashrc
    export PATH="$PATH:$HOME/.fig/bin"
    
  3. 下記を実行して~/.bashrcを読み込む。

    source ~/.bashrc
    
  4. figコマンドが使えるようになった。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?