LoginSignup
0
0

More than 1 year has passed since last update.

M1 MacでVS Codeをターミナルから起動できるようにするまで

Posted at

環境

OS: macOS Big Sur 11.4
チップ: Apple M1

参考

こちらのページを参考にさせていただきました

VS Codeのインストール

公式サイトからvscodeをダウンロード

※Apple Silicon を選択する

スクリーンショット 2021-07-07 22.55.06.png

Zipファイルを解凍

ダブルクリックで解凍後、回答されたファイルをアプリケーションフォルダ /Users/ユーザー名/Applicationに置く

VS Codeを開く

LaunchpadやSpotlightからVisual Studio Codeを開く

シェルコマンドを追加する

Command + Shift + p キーを同時押し→コマンドパレットが開かれる
Shell Command: Install 'code' command in PATH をクリック

スクリーンショット 2021-07-07 23.00.39.png

これでコマンドが追加されました

使ってみる

  • ターミナルを起動
  • code .を実行

コマンドラインからvscodeが起動できるようになりました
それにしてもvscodeの起動が早い

スクリーンショット 2021-07-07 23.07.18.png

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