I try to write code in terminal and open it, but this is happening
You are trying to start Visual Studio Code as a super user which isn't recommended. If this was intended, please specify an alternate user data directory using the
--user-data-dir
argument.
CodePudding user response:
add the option --verbose. It might give you a hint what blocks it from starting.
CodePudding user response:
you can go to official vs code website and download the .deb file, then in your terminal type cd Downloads
after you are on that directory search for that deb file you downloaded then type dpkg -i 'your downloaded file name' (no quotes just copy and paste the file name) after the process ends,search for visual studio code and you will find an app laucher.