Up to $100 off Dedicated Servers

How to install VSCode on Linux, Mac, and Windows

Reading Time: 4 minutes


Visual Studio Code (VSCode) is a free, open-source editor developed by Microsoft that can manage various programming languages and extensions with enhanced functionality. The benefits of installing VSCode are numerous. Continue reading to learn all this excellent code editor has to offer.

How is Visual Studio Code useful?

VSCode is a versatile choice for developers as they get started on various development projects that require a quality code editor. This one comes with a nice toolbox to help you code like "the pros":

Installing VSCode on Linux, Mac, and Windows

Visit the VSCode download page and choose the version and configuration details for your on Linux, Mac, and Windows operating system. Then, go through the installation and subsequent configuration prompts to complete the install of VSCode so that you can begin coding.

The numerous extensions available for VSCode empower coding and managing your new code generated with great efficiency. One valuable extension is the Remote Explorer, which allows you to access files and folders from the VSCode Editor and VSCode Explorer functional areas of the programming environment.

How to get the Remote Explorer plugin

After the install of VSCode has completed, open it. Then, click the Extensions button on the left-hand side of the user interface. Alternatively, you can use the Ctrl+Shift+X keys on Windows or the Command+Shift+X keys on a Mac:

How to install VSCode on Linux, Mac, and Windows — how to get the Remote Explorer plugin. After the install of VSCode has completed, open it. Then, click the Extensions button on the left-hand side or use the Ctrl+Shift+X keys on Windows or the Command+Shift+X keys on a Mac.


Search for Remote Explorer and click the Install button:

How to install VSCode on Linux, Mac, and Windows — how to get the Remote Explorer plugin. After the install of VSCode has completed, open it. Then, click on the Extensions button on the left-hand side or use the Ctrl+Shift+X keys on Windows or the Command+Shift+X keys on a Mac. Search for Remote Explorer and click the Install button.

How to add your server to the list of Remote Explorer connections

Once the Remote Explorer plugin has been successfully installed, click the Remote Explorer icon in the sidebar:

How to install VSCode on Linux, Mac, and Windows — .ow to add your server to the list of Remote Explorer connections. Once the Remote Explorer plugin has been successfully installed, click the Remote Explorer icon in the sidebar.


Next, click the "+" (plus) icon to add a new connection. Then, put in your SSH connection details as shown in this example:

ssh user@<youripaddress> -p22

Remember to replace <youripaddress> with you actual IP address.

How to install VSCode on Linux, Mac, and Windows — how to add your server to the list of Remote Explorer connections. Once the Remote Explorer plugin is installed, click on the Remote Explorer icon in the sidebar.. Click on the "+" (plus) icon to add a new connection. Then, put in your SSH connection details as shown in this example.

It will ask you which SSH configuration file you would like to update, so it can save your host settings:

How to install VSCode on Linux, Mac, and Windows — how to add your server to the list of Remote Explorer connections. It will ask you what SSH configuration file you would like to update so it can save your host settings.

Once you choose a file to edit, it will keep your host settings and you can choose to open the configuration file or connect to the server:

How to install VSCode on Linux, Mac, and Windows — how to add your server to the list of Remote Explorer connections. Once you choose a file to update, it will save your host settings and you can choose to open the configuration file or to connect to the server.

How to connect to your server using the Remote Explorer plugin

If you didn’t click the Connect button when the host was added to the SSH configuration file, you can also click the File icon next to your new server in the SSH list. If you don’t see it, click the Refresh icon to update the display:

How to install VSCode on Linux, Mac, and Windows — how to connect to your server using the plugin. If you didn’t hit the Connect button when the host was added to the SSH configuration file, you can also click the File icon next to your new server in the SSH list. If you don’t see it, click the Refresh icon.


It will ask you for your SSH password:

How to install VSCode on Linux, Mac, and Windows — how to connect to your server using the plugin. It will ask you for your SSH password.

The advanced features for facilitating your coding with connectivity are quite impressive:

How to install VSCode on Linux, Mac, and Windows — how to connect to your server using the plugin. The software coding and development feature set bundled with an install of VSCode is quite impressive.


Once you are connected to your server, you will be able to do the following:

  • Access files and folders by using the VSCode File Explorer on the left-hand side of the screen.
  • Open up multiple terminals in parallel on the remote instance.
  • Use the VSCode Editor for all your coding, which comes with the helpful Visual Studio Code IntelliSense code completion functionality. It provides "code hinting" in terms of autocompletion of the line of code you are currently writing for your chosen programming language.
  • Add your other VSCode extensions to your remote server’s instance for a better developer experience (for example, the git extension).

Leveraging the power of Visual Studio Code as your code editor of choice

Visual Studio Code is a powerful, versatile, and free code editor that supports a wide array of programming languages. Furthermore, it offers a multitude extensions to augment the core functionality.

Taking the steps outlined in this article, easily install VSCode, add the Remote Explorer plugin, and connect to your server. Regarding your coding effort, you are able manage files and folders directly within the VSCode interface. This setup not only streamlines your development workflow, but also provides access to VSCode's extensive feature set, including its built-in terminal, sophisticated code editor, and file explorer.

The IntelliSense autocomplete features are impressive and useful during rapid software development cycles. In addition, there is the capability of using a diverse library of helpful extensions. Whether you're a developer or a power user, integrating VSCode with the Remote Explorer plugin will undoubtedly boost your efficiency and make managing your remote files and folders a breeze.

Latest Articles

How to install Redis on Linux (AlmaLinux)

Read Article

How to use NextCloud — setup and features

Read Article

Use ChatGPT to diagnose and resolve server issues

Read Article

What is SDDC VMware?

Read Article

Best authentication practices for email senders

Read Article