![]() ![]() VS Code is a lightweight IDE from Microsoft used for web application development and can be installed on Linux, Windows and MacOS. To list installed extensions, Type: code -list-extensions You can also use command line to add new extensions.For example, Following command will add eslint JavaScript extension to the vscode: code -install-extension dbaeumer.vscode-eslint To open a folder with vscode, Type: code dir_name Ubuntu users can find it in the Software Center itself and install it in a couple of clicks. ![]() Visual Studio Code is available as a Snap package. ![]() To open a new file, Execute: code file_name Method 1: Install Visual Studio Code on Linux using Snap. The vscode IDE includes a command line tool called code which can use to manage the IDE directly from the Ubuntu terminal. In this guide you’ll see two ways of installing Visual Studio Code on Ubuntu 20.04 LTS, using the official Snap package on the Snapcraft store, or by downloading VSCode’s. 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 Download the DEB file: Visit the Visual Studio Code download page and download the DEB file for Ubuntu. The easiest way to install Visual Studio Code is by downloading the DEB file from the Visual Studio Code website and installing it directly. And that is all you have to do to install vscode on Ubuntu Linux. Option 1: Installing Visual Studio Code Using the DEB file. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |