Get Started with VSCode on Debian and Ubuntu-based distributions

M-Zohaib Nasir
1 min readJan 28, 2022
Home page of VSCode (First page to appear when VSCode is launched).

1.Installing VSCode (.deb):

Download and install the .deb package (64-bit), either through clicking on the .deb file that will open the graphical software center if it’s available or through the command line with:

# navigate to downloaded file directory using cd
sudo apt install ./<file>.deb
# If you're on an older Linux distribution, run this instead:
sudo dpkg -i <file>.deb
sudo apt-get install -f # Install dependencies

2. Installing VSCode as a Snap Package:

open terminal( Ctrl+Alt+T ) and type:

sudo snap install --classic code

3. Installing Visual Studio Code with apt :

sudo apt update
sudo apt install software-properties-common apt-transport-https wget
wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -
#enable the Visual Studio Code repositorysudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"sudo apt install code

Starting VSCode

In the Activities search bar type “Visual Studio Code” and click on the icon to launch the application.

or

type “code” in the terminal.

& Done. Simple:)

--

--