download visual studio code on ubuntu code example
Example 1: install vscode for ubuntu
sudo snap install --classic code
Example 2: visual studio code ubuntu
sudo snap install --classic code # or code-insiders
sudo snap install --classic code
sudo snap install --classic code # or code-insiders