> For the complete documentation index, see [llms.txt](https://www.breaching-defenses.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.breaching-defenses.com/lab/installing-the-red-team-home-lab.md).

# Installing the Red Team home lab

## Installing the Red Team home lab

### 1 Cloning the repository

First we need to clone the [repository](https://github.com/RobinFassina-Moschini/Breaching-Defenses.com) of the Red Team home lab.

For that we open a powershell and type:

```
cd C:\Users\$($env:USERNAME)\Desktop
git clone https://github.com/RobinFassina-Moschini/Breaching-Defenses.com.git
```

### 2 Setting up the disk config

Open the [*disk\_config.ps1*](https://github.com/RobinFassina-Moschini/Breaching-Defenses.com/blob/master/disk_config.ps1) file and update your configuration

```
#--------------------------------------------------------------
# Change the variables under to adapte to your disk config
#--------------------------------------------------------------
#$labSources = 'D:\LabSources' #Path to the lab sources
$labSources = 'C:\LabSources' #Path to the lab sources
#$vmDrive = 'D:' #Disk where to create the VMs
$vmDrive = 'C:' #Disk where to create the VMs
#--------------------------------------------------------------
```

If possible try to run the VMs on a different disk than the host.
