1. First update the package and also install depedency
rofi@technotes:~$ sudo apt update
2. Import Microsoft GPG key uses the comments below
rofi@technotes:~$ sudo apt install software-properties-common apt-transport-https wget
3. enable visual studio code repository with comments below
rofi@technotes:~$ sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
4. Update the ubuntu package
rofi@technotes:~$ sudo apt update
5. Install the latest visual studio code
rofi@technotes:~$ sudo apt install code
6. Starting visual studio code
Visual Studio Code - Ubuntu |