![]() ![]() To open a folder with vscode, Type: code dir_name To open a new file, Execute: code file_name The vscode IDE includes a command line tool called code which can use to manage the IDE directly from the Ubuntu terminal. Sudo apt-get install code Manage IDE from the Command Line Then, install visual studio code with apt-get command: sudo apt-get update Move the gpg key to the /etc/apt/ directory: sudo mv microsoft.gpg /etc/apt//microsoft.gpgĬreate repository file: sudo sh -c 'echo "deb stable main" > /etc/apt//vscode.list' It is also possible to install visual studio code on Ubuntu with apt repository by doing the following steps.įirst download the gpg key using the curl command: curl | gpg -dearmor > microsoft.gpg If you want to make vscode your default text editor, run following command: xdg-mime default sktop text/plain Install vscode code on Ubuntu using apt repository And that is all you have to do to install vscode on Ubuntu Linux.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |