# Updating VLSM on a Windows Machine

### 0. Backup

- Start phpmyadmin by typing [http://localhost/phpmyadmin](http://localhost/phpmyadmin) in browser
- Go to `vlsm` database and under `Export` tab, click on `Custom - display all possible options`
- Under **Output:** section select `Zipped` compression and then scroll to the bottom and click on `Export` button
- Once the file is downloaded, keep it safely



### 1. Download VLSM

- Download VLSM from [https://github.com/deforay/vlsm](https://github.com/deforay/vlsm)
- Unzip the VLSM folder and copy all contents to the `C:\wamp64\www\vlsm` folder
- DON'T DELETE THE EXISTING VLSM FOLDER, JUST COPY FILES INTO IT

### 2. Completing the Update


- To complete VLSM update, open the terminal and run the composer commands

```
cd C:\wamp64\www\vlsm

set PATH=C:\wamp64\bin\php\php8.2.13;%PATH%

php composer.phar install --no-dev
php composer.phar dump-autoload -o

php composer.phar post-update
```
* Now open [http://vlsm](http://vlsm) and check if everything is okay