install vscode via termina 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
Example 3: how to open ubuntu file in visual studio
$ code
$ code my-file