05 [Install guides](https://logicpacks.io/install) · 10 min

# Install VS Code

VS Code is a free code editor where you can read what your agent changed, run a terminal, and add agent extensions.

Roman Urdu: VS Code free editor ha, purane laptop pe bhi chal jata ha. Agent ne kya badla, yahan aaram se dekh sakte hein.

**Cost:** Free.

[Windows](#windows) · [macOS](#macos) · [Linux (Ubuntu/Debian)](#linux)

## Windows

1.  Low-end machines are fine: VS Code recommends a 1.6 GHz CPU and 1 GB of RAM, and takes under 500 MB of disk.
2.  Download the **User Installer** from [code.visualstudio.com/download](https://code.visualstudio.com/download). It needs no admin rights.
3.  In the installer, keep **Add to PATH** checked. That gives you the `code` command in the terminal.
4.  Open a new terminal and open any folder in VS Code:
    
    ```sh
    code .
    ```
    

## macOS

1.  Download VS Code for macOS, open the `.dmg`, and drag **Visual Studio Code** into **Applications**.
2.  To get the `code` command: open VS Code, press Cmd + Shift + P, type `shell command`, and run **Shell Command: Install 'code' ... in PATH**. Then restart Terminal.
3.  Open any folder in VS Code:
    
    ```sh
    code .
    ```
    

## Linux (Ubuntu/Debian)

1.  Download the `.deb` from [code.visualstudio.com/download](https://code.visualstudio.com/download), then install it from your Downloads folder (this also adds the update repository):
    
    ```sh
    cd ~/Downloads
    ```
    
    ```sh
    sudo apt install ./code_*.deb
    ```
    
2.  Or with Snap:
    
    ```sh
    sudo snap install --classic code
    ```
    
3.  Fedora: follow the RPM repository steps on [the VS Code Linux page](https://code.visualstudio.com/docs/setup/linux), then `sudo dnf install --refresh code`.
4.  Using WSL? Install VS Code on Windows, not inside Ubuntu. Typing `code .` in Ubuntu opens the Windows app connected to WSL.

## Check it worked

```sh
code --version
```

a version number like 1.x.x on the first line

## Common errors

`code` is not recognized (Windows)

Restart the terminal. If it still fails, run the installer again with **Add to PATH** checked, or add `%LOCALAPPDATA%\Programs\Microsoft VS Code\bin` to PATH.

`code: command not found` (macOS)

Run the **Shell Command: Install 'code'** step from the Command Palette, then open a new Terminal window.

VS Code is slow on an old laptop

Open one folder at a time, disable extensions you do not use (Extensions panel), and close other apps. Or use a terminal agent and skip the editor.

Linux: the app does not start on an old distro

VS Code needs Ubuntu 20.04 / Debian 10 or newer (glibc 2.28+). Upgrade the OS or use a terminal agent instead.

## Official docs

-   [VS Code: Setup overview](https://code.visualstudio.com/docs/setup/setup-overview)
-   [VS Code: Requirements](https://code.visualstudio.com/docs/supporting/requirements)
-   [VS Code: Windows](https://code.visualstudio.com/docs/setup/windows)
-   [VS Code: macOS](https://code.visualstudio.com/docs/setup/mac)
-   [VS Code: Linux](https://code.visualstudio.com/docs/setup/linux)
-   [VS Code: Download](https://code.visualstudio.com/download)

Checked against these pages on 2026-12-05. Tools change: if a step differs, the official page wins.

[Install guides : All guides](https://logicpacks.io/install) [Next : Set up GitHub and the gh CLI](https://logicpacks.io/install/github)

---

Canonical URL: https://logicpacks.io/install/vscode

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](https://logicpacks.io/llms.txt). Plain facts: [/about.md](https://logicpacks.io/about.md). Safety: [/safety.md](https://logicpacks.io/safety.md).
