
Sudo apt install software-properties-common apt-transport-https wget Step 3 – Enable the Apt repository In this step, visit your terminal and execute the following command to update Apt package list: sudo apt-get update How to Install Visual Studio Code Text Editor in Ubuntu 20.04/22.04įollow the following steps and install visual studio code text editor in ubuntu using terminal or command prompt Step 1 – Open Terminal OR Command Promptįirst of all, your terminal or command prompt by pressing Ctrl+Alt+T key: Step 2 – Update APT Package

Note that, Visual Studio Code is cross-platform, available on Windows, Linux, and macOS.īut this tutorial guide shows the easiest ways of installing visual studio code text editor on Ubuntu 20.04/22.04. In this tutorial, you will learn how to install visual studio code text editor on Ubuntu 20.04/22.04 using terminal or command prompt.

So, let’s choose Standard which will install the most common settings and options as below.Ġ4- Click Next and you’ll be taken to the following window to choose your UI theme:Ġ5- You’ll be taken to a window to verify your chosen settings. If not, go with the default option which is Do not import settings.Ġ3- Click on the Next button, and you will be presented with a window to choose your type of setup you want for Android Studio. However, if you have a previous installation of Android Studio, simply browse to the configuration folder. So, use the below command to install Android Studio: $ sudo snap install android-studio -classicĠ1- You can start Android Studio either by typing the command android-studio in your terminal or by clicking on the Android Studio icon ( Activities -> Android Studio).Ġ2- When you start Android Studio for the first time, a window like the following will appear asking you to import Android Studio settings from a previous installation. Method 2./ Install Android Studio Using snap Therefore, type the below command to add the Android Studio repository: $ sudo add-apt-repository ppa:maarten-fonville/android-studioĠ2- Now let’s install Android studio and all the software dependencies as below.

So, check out our previous tutorial: How to Install Java on Ubuntu 20.04 1./ Install Android Studio Using APT Method 1./ Install Android Studio Using APTġ- We need to add official repository to the sources list. Android Studio requires OpenJDK version 8 or above to be installed.
