Download Visual studio code portable for Windows 11/10 or Linux

Here we will show how to download the Microsoft portable Visual Studio code files and use them on Windows 11/10 or Linux using a USB drive without installing.

Microsoft’s Visual Studio Code is a free, open-source code editor that comes with many useful features for developers for developing and debugging modern cloud and web applications. Although it is developed by Microsoft for Windows, also available for Linux and macOS and comes with everything you need for software development.

As per Microsoft, the Visual Studio code escalates the development of applications using ASP.NET Framework and Node-based applications. Website creation with HTML, CSS, JSON, LESS, SASS, PHP JavaScript, and other technologies is quite easy. Your project can be created as a Git repository.

Unlike Visual Studio and Eclipse, the Visual Studio Code (VS Code) does not work with project files, but at the file and folder level. What we have to do is open a file or folder to start development. VS Code interprets the project files as defined by the various frameworks and platforms.

For example, if a folder contains a Node.js package JSON file, VS Code uses the information it contains to provide project and platform-specific features such as matching autocomplete. TypeScript projects require an extension.

The VS code is available in the installation formation, however, if you are a coder and developing applications using multiple systems, such as home or office, then you don’t need to install it. Even we can use our friend’s systems to develop apps without installing Visual Studio Code because it is available in a portable format. We can download Visual Studio code portable zipped file from its official website and after that just extract it to any system you want.

Here we will show how to download the portable Visual Studio code files to use them without installing them.

#First, we will show how to use it for Windows 11/10/8/7

Install and Run Visual Studio code portable on Windows and Linux

  • Go to the official Microsoft Visual Studio code website to download the portable version. Click on the Download page, here is the link (for convenience).
  • Instead of downloading a regular executable file, click on the Zip (32 or 64-bit as per your system) available to download for Windows. For Linux systems, one can download the .tar.gz version of the VS code.
Download portable Visual Studio code
  • After downloading, either extract it directly on the system where you want to use it or in the USB drive.
  • Now, inside the extracted folder of Visual Studio code, create a folder named “data“.
  • This data folder will be used by the VS code portable to store all sessions, extensions, preferences, code data, etc. Furthermore, you can also copy any Windows or Linux-installed VS code data folder to start with your previous sessions. Of course, related files or folders should also be on the same system.
  • Moreover, we can also move the portable installation data folder to another PC installed with VSCode to update our work.
  • Now, run the Code.exe file available in the extracted folder.

Run portable Visual studio code exectuable file

  • You will get the regular interface of the VS code.
Run Visual Studio code portable on WIndows and Linux
# Now, we use portable Visual studio code for Linux local or USB drive

As I told you above on the same download page you will get the Linux version of this code editor too. Instead of downloading DEb or RPM package, get the tar.gz one.

Now simply right-click on the compressed VS code file and extract it. If you are using a command terminal then the command to extract the .tar.gz file is:

tar -xzf filename
You can either move the extracted folder to a USB drive or leave it on a local disk.

After just like we did in Windows, create a folder named ‘data‘ inside the folder of Visual Studio code.

Now inside the VS code folder anywhere on the blank space, right-click and select Open in Terminal.

Open Visual code studio in Terminal

Inside the Terminal run the following command:


Run VS code on Linux USB

Note: The portable version will not update itself automatically and needs to be done manually.

Thus, in this way, we can download, run, and use the portable visual code studio using USB drives on both Windows and Linux operating systems.