1
2

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 5 years have passed since last update.

Ubuntu Linux向けVisual Studio Code (VSCode) インストール手順

1
Last updated at Posted at 2019-11-18

Linux PC (Ubuntu 18.04で確認) へのVSCodeのインストール手順について説明します。基本的に公式サイトの手順そのままです。

aptレポジトリの追加

$ curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
$ sudo install -o root -g root -m 644 packages.microsoft.gpg /usr/share/keyrings/
$ sudo sh -c 'echo "deb [arch=amd64 signed-by=/usr/share/keyrings/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'

追加したマイクロソフトのリポジトリはhttpsアクセスのため、apt-transport-httpsパッケージが必要になります。

$ sudo apt install apt-transport-https
$ sudo apt update

インストール

$ sudo apt install code

設定ファイル

GUIからも設定変更可能ですが、その設定ファイルは以下に保存されます。

~/.config/Code/User/settings.json
1
2
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
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?