visual code in ubuntu\ code example
Example 1: install vscode ubuntu command line
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