Installing Visual Studio Community Edition typically requires a steady internet connection. However, for developers working in air-gapped environments, on machines with restricted bandwidth, or across multiple workstations, creating a Visual Studio Community Edition offline installer (also known as a local layout) is a more efficient approach.
This guide explains how to create, use, and update a local layout for Visual Studio 2022 and 2026. Why Use an Offline Installer?
No Internet Required During Install: Once the layout is created, you can install the IDE on machines with zero connectivity.
Consistency: Ensure all team members or student workstations are using the exact same version and components.
Efficiency: You only download the files once, rather than re-downloading gigabytes for every single machine. Step 1: Download the Bootstrapper
To create an offline installer, you first need the small "bootstrapper" file from the official Visual Studio download page.
For Visual Studio 2022, the file is typically named vs_community.exe.
For Visual Studio 2026, ensure you select the 2026 version of the bootstrapper. Step 2: Create the Local Layout
When you download the offline layout, you’re not just getting the installer. You’re getting a snapshot of a moment in time. Microsoft’s documentation moves fast—workloads get renamed, components get deprecated. The offline layout preserves a specific, reproducible state.
Want to build a legacy C++ project from 2021? That offline layout from back then still has v141_toolset. The web installer today might try to force you into v143. visual studio community edition offline installer
vs_community.exe).vs_community.exe --layout [Path] in Command Prompt.certificates folder.vs_community.exe found inside.The Comprehensive Guide to the Visual Studio Community Edition Offline Installer
Microsoft’s Visual Studio is widely regarded as one of the most powerful integrated development environments (IDEs) available today. Within its ecosystem, the Community Edition holds a unique position: it is a fully-featured, professional-grade tool offered free of charge for students, open-source contributors, and small enterprises. However, the standard installation method—downloading a small "bootstrapper" file that streams data from the internet during setup—is not always ideal. For developers with unstable connections, enterprise administrators managing multiple machines, or those needing to maintain a consistent development environment, the offline installer is the superior solution.
This essay explores the mechanics, benefits, and procedural steps involved in creating and utilizing the offline installer for Visual Studio Community Edition.
vs_community.exe --layout C:\VSOffline --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended --lang en-US
If you need to install Visual Studio Community Edition on machines without reliable internet, an offline installer lets you download all required components once and use them later across multiple devices. Below is a concise, step‑by‑step guide for creating and using an offline layout (verified for Visual Studio 2019/2022; steps are similar across recent versions).
Visual Studio Community is a powerful, fully-featured IDE that is free for individual developers, open-source projects, academic research, and small professional teams.
While the standard web installer is the easiest way to get started, it requires a stable internet connection and downloads files on the fly. For organizations, developers with slow internet, or those needing to deploy VS across multiple machines, the Offline Installer (also known as an "Offline Layout") is the superior choice.
This guide covers how to create, maintain, and use the offline installer for Visual Studio Community.
The Visual Studio Community offline installer is an indispensable tool for developers working in air-gapped environments, managing multiple workstations, or dealing with unreliable internet. While creating the layout requires an upfront investment in time and disk space, the ability to install a consistent, fully-offline development environment pays dividends in reliability and speed.
Current version example: Visual Studio Community 2022 (version 17.x) supports offline layouts as described. For the latest command-line options, run
vs_community.exe --helpafter downloading the bootstrapper. Download the bootstrapper ( vs_community
Need exact workload IDs? Visit Microsoft’s official documentation: Visual Studio Workload and Component IDs
For users with unreliable internet or restricted environment access, creating a Visual Studio Community Edition offline installer
ensures a smooth setup without a constant connection. Unlike most software, Visual Studio does not provide a single
file; instead, you must create a "local layout" on a machine with internet access first. Microsoft Learn Step 1: Download the Bootstrapper
Start by downloading the small setup file (bootstrapper) for the latest version, such as Visual Studio Community 2022 The file is typically named vs_community.exe Ensure you save it to a local folder, such as C:\VSLayout Super User Step 2: Create the Local Layout
Open a Command Prompt as an administrator and navigate to your download folder. Run a command to download the specific components you need. To download the entire IDE (approx. 75GB+): vs_community.exe --layout C:\VSLayout --lang en-US
To download specific workloads (e.g., .NET Desktop development):
vs_community.exe --layout C:\VSLayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended --lang en-US Step 3: Install on the Offline Machine Create an offline installation - Visual Studio (Windows)
To install Visual Studio Community Edition without an active internet connection, you must first create a local layout (a local copy of the files) on a machine with internet access. Steps to Create an Offline Installer The Comprehensive Guide to the Visual Studio Community
Download the Bootstrapper: Visit the Official Visual Studio Download Page and download the setup file (e.g., vs_community.exe).
Run the Command to Create a Layout: Open a command prompt as an administrator, navigate to your download folder, and run the following command to download all files for a specific workload (like .NET desktop development):
vs_community.exe --layout c:\vslayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --includeRecommended --lang en-US Use code with caution. Copied to clipboard
c:\vslayout is the destination folder for your offline installer.
The --add parameter specifies which workloads to download to save disk space.
Install on the Offline Machine: Copy the c:\vslayout folder to your offline computer. Open the folder and run vs_community.exe to begin the installation from the local files. Key Considerations
Disk Space: A full offline layout for all workloads can exceed 40 GB. It is highly recommended to use the --add command to download only what you need.
Updates: To update your offline installer, run the same layout command again. The Visual Studio Installer will only download new or updated files to your existing layout folder.
Certificates: Ensure you install the necessary certificates found in the Certificates folder of your layout if the offline machine doesn't have updated root certificates.
Do you need the specific command line arguments for a different workload, like C++ or Python?
Create an offline installation - Visual Studio (Windows) - Microsoft Learn