Web備忘録

雑多に書いています

VScodeをアップデートする方法

(Mac用)

VScodeを開き、左上のメニューバーより

「Code」→「Check for Updates..(上から2つ目ぐらい)」

で出来ます。

ただし、以下のエラー文により阻まれる場合があります。

Cannot update while running on a read-only volume. 
The application is on a read-only volume. Please move the application and try again. 
If you're on macOS Sierra or later, you'll need to move the application out of the Downloads directory. See https://github.com/Squirrel/Squirrel.Mac/issues/182 for more information.

エラーの内容を一言で言うと「読み取り専用の場所からアプリケーションが起動されているので、アプリケーションの場所を移動してもう一度起動し直せ」ということのようです。

Finderなどのディレクトリ管理ツールを使い、VScode を保存している場所を、別の場所に移しましょう。

自分の場合は、ダウンロードフォルダからアプリケーションフォルダに移せば問題なくアップデートできました。