LoginSignup
0
0

More than 3 years have passed since last update.

bash: code: command not foundと言うエラーが出た話

Posted at

目的

  • ターミナルからファイルをVScodeで開く際に出たエラーの解決法を記載する。

実施方法

  1. codeコマンドのインストール

    1. VScodeのウインドウを開く
    2. 「command」+「shift」+「p」を同時に押下してコマンドウインドウを開く。
    3. コマンドウインドウに下記を記載する。

      Shell Command: Install 'code' command in PATH
      
    4. 入力後、表示される「codeコマンドをインストールする」をクリックする。

      スクリーンショット 2020-03-04 21.05.12.png

  2. 確認

    1. ターミナルを再起動してcodeコマンドを実行する。
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