Install Microsoft Visual Studio Code on a chromebook


My chromebook is fantastic! As it supports Linux integration feature, I can open a terminal and install every Debian based packages I want such as Microsoft Visual Studio Code. Let's go!


Step 1 - Import the Microsoft GPG key :
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -

Step 2 - Add the Visual Studio Code repository :
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"

Step 3 - Install the latest version of Visual Studio Code
sudo apt update
sudo apt install code
That's all!