![見出し画像](https://assets.st-note.com/production/uploads/images/66624319/rectangle_large_type_2_9762ae07bd77c4e7c2fb9fa7cb53c5ad.jpeg?width=1200)
Photo by
syuheiinoue
macOSでVisual Studio Code (vscode)でのcodeコマンドがcommand not found となる時の対処方法
macOSでVisual Studio Codeを入れたばかりだとcodeコマンドがcommand not foundになる。
code .
>> -bash: code: command not found
対応方法は非常に簡単
Visual Studio Codeを起動
コマンドパレットを開く(cmd+shift+p)
"Shell Command: Install 'code' command in PATH"を選択
これだけ