---
# System prepended metadata

title: Installing required packages on VSCode w/ Windows
tags: [Tutorial]

---

# Installing required packages on VSCode w/ Windows

Due this combination is probably going to be the most popular choice and Windows is a pain to work with, this guide is specifically for students that have trouble setting up their environment on VSCode w/ Windows and is **NOT REQUIRED** to follow. If you:

* are not using Windows
* are using Visual Studio or CLion
* have already setup the environment successfully

you should not follow this guide.

If you are following this guide, make sure you are using PowerShell and not CMD, CMD compatibility is not guaranteed.

## Install Visual Studio

## Install Chocolatey

Install Chocolatey by following their [installation guide](https://chocolatey.org/install#individual)

## Install CMake and MinGW

Open PowerShell as administrator

Enter

```bash
choco install cmake.install --installargs '"ADD_CMAKE_TO_PATH=System"'
choco install ninja llvm
```

Reboot your machine.

Open Powershell again, enter

```bash
cmake --version
ninja --version
clang --version
```

to make sure those tools are installed.

If everything succeeds, you can continuing following the [environment setup guide](https://hackmd.io/@OOP2023f/rk2-8cVCh).
