Install Visual Studio Code in Ubuntu 20.04/22.4 using Terminal

Install Visual Studio Code in Ubuntu 20.04/22.4 using Terminal

Command line instal visual studio in ubuntu. In this tutorial, you will learn how to install visual studio code text editor on Ubuntu 20.04/22.04 using terminal or command line.

Note that, Visual Studio Code is cross-platform, available on Windows, Linux, and macOS.

But this tutorial guide shows the easiest ways of installing visual studio code text editor on Ubuntu 20.04/22.04.

How to Install Visual Studio Code Text Editor in Ubuntu 20.04/22.04

Steps and install visual studio code text editor in ubuntu using terminal or command line:

Step 1 – Open Terminal OR Command Prompt

First of all, your terminal or command line by pressing Ctrl+Alt+T key:

Step 2 – Update APT Package

In this step, visit your terminal and execute the following command to update Apt package list:

sudo apt-get update
sudo apt install software-properties-common apt-transport-https wget

Step 3 – Enable the Apt repository

In this step, execute the following command on your terminal to Import the repository GPG key and enable the Apt repository :

wget -q https://packages.microsoft.com/keys/microsoft.asc -O- | sudo apt-key add -

And enable the Visual Studio Code repository by typing:

sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"

Step 4 – Installing Visual Code Studio

In this step, execute the following command on your terminal to install the latest version of Visual Studio Code:

sudo apt install code

Note that, The easiest way is to install visual code studio on Ubuntu 20.04.

Conclusion

How to install visual studio code text editor in ubuntu system using command prompt or terminal. In this tutorial, you have learned how to install visual studio code text editor on Ubuntu 20.04/22.04 using terminal or command prompt.

That’s it. Visual code studio text editor has been download on your Ubuntu system.

Recommended Ubuntu Posts

AuthorAdmin

Greetings, I'm Devendra Dode, a full-stack developer, entrepreneur, and the proud owner of Tutsmake.com. My passion lies in crafting informative tutorials and offering valuable tips to assist fellow developers on their coding journey. Within my content, I cover a spectrum of technologies, including PHP, Python, JavaScript, jQuery, Laravel, Livewire, CodeIgniter, Node.js, Express.js, Vue.js, Angular.js, React.js, MySQL, MongoDB, REST APIs, Windows, XAMPP, Linux, Ubuntu, Amazon AWS, Composer, SEO, WordPress, SSL, and Bootstrap. Whether you're starting out or looking for advanced examples, I provide step-by-step guides and practical demonstrations to make your learning experience seamless. Let's explore the diverse realms of coding together.

Leave a Reply

Your email address will not be published. Required fields are marked *