@jewel
To install Visual Studio Code on Ubuntu using the terminal, follow these steps:
1
|
sudo apt update
|
1
|
wget -qO- https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg |
1
|
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' |
1
|
sudo apt update
|
1
|
sudo apt install code |
This will install Visual Studio Code on your Ubuntu system. You can then launch Visual Studio Code by searching for it in the application launcher or by running the following command in the terminal:
1
|
code
|
@jewel
Note: These instructions are for the amd64 architecture. If you're using a different architecture, replace "amd64" in the commands above with your architecture (e.g. "arm64").
If you encounter any issues during the installation process, refer to the official Visual Studio Code documentation for troubleshooting tips.