# Installing with a Windows based computer
> [!NOTE] > > This page describes the new installation method using the official M5Burner v3 utility. > > Even simpler: the [Web Flasher](./WebFlasher) programs the device straight from Chrome or Edge, with nothing to install.
This guide explains step by step how to program your M5Stack with the official M5Stack M5Burner utility (Arduino not required).
## Install the M5Stack USB driver
Connect your M5Stack device to your computer with the USB cable, open the device manager (right click on the Start button > Device Manager) and check under **Ports (COM & LPT)** if a new COM port appeared. [[/images/InstallPC07b.png|Device manager showing the M5Stack COM port]] **If a new COM port appears, no driver is needed: skip to [Download and install M5Burner](#download-and-install-m5burner).**
If no port appeared, go to the [M5Stack download page](https://docs.m5stack.com/en/download?id=usb%20driver), section **USB Driver**, and download the driver matching your device: - **CH9102 chip** (most recent Basic and Core2 units): `CH9102_VCP_SER_Windows` - **CP2104 chip** (older Basic and Core units): `CP210x_VCP_Windows`. Also available from SiLabs: https://www.silabs.com/developer-tools/usb-to-uart-bridge-vcp-drivers [[/images/InstallPC02b.png|M5Stack USB Driver download page]]
In the Downloads folder, extract the .zip file, open the extracted folder and run the installer for the correct platform type of the driver (x64 for most computers). [[/images/InstallPC02.png|Extracting the USB driver .zip file]] Next, Accept, Next, Finish.
Reconnect your M5Stack device and check the COM port appears in the device manager. NB: *If you have previous versions of SiLabs drivers you might need to remove them in order to see the M5Stack serial port.*
## Download and install M5Burner
Go to the official M5Burner page https://docs.m5stack.com/en/uiflow/m5burner and download the **Win x64** version. [[/images/M5BurnerPC01.png|M5Burner download page]]
From the Downloads folder, extract the .zip file, for example to `C:\` **You can extract it wherever you want, but avoid a path name with spaces inside.**
From the extracted folder, run `M5Burner.exe` If Windows Defender SmartScreen shows a warning, click **More info** then **Run anyway**. M5Burner is the official flashing tool from M5Stack, it is safe to run. [[/images/InstallPC09.png|Windows Defender SmartScreen]]
## Get the M5_NightscoutMon firmware
The firmware is published on M5Burner by the developer and is found with the search bar. 1. In the **Device Type** list on the left, select your device: **CORE** for a Basic / Core / Gray, or **CORE2 & TOUGH** for a Core2 / Tough. 2. Type **Nightscout** in the search bar at the top and press Enter. 3. On the **NightscoutMon** result, click **Download**. [[/images/M5BurnerPC04.png|CORE: select the device, search Nightscout and click Download]] For a Core2 or Tough, select **CORE2 & TOUGH** instead: [[/images/M5BurnerPC05.png|CORE2 & TOUGH: select the device, search Nightscout and click Download]]
## Flash the firmware
Once downloaded, the firmware entry shows **Remove** and **Burn** buttons. Click **Burn**. [[/images/M5BurnerPC07.png|The Burn button on the downloaded firmware]]
A **Notice** warns that this is unofficial firmware. This is expected: M5_NightscoutMon is a community firmware, not published by M5Stack. Click **Continue**. [[/images/M5BurnerPC08.png|Unofficial firmware notice]]
The burn window opens: 1. Check your M5Stack device is connected. 2. Select the **COM** port of your device (the one you saw in the device manager). 3. Select baudrate **921600**. 4. Click **Start**. [[/images/M5BurnerPC06.png|Burn window with COM port and baudrate]]
The firmware is written to your device, showing the progress: [[/images/M5BurnerPC09.png|Burning in progress]]
When it finishes, **Burn successfully, click here to return** appears. Click it to return to M5Burner. [[/images/M5BurnerPC10.png|Burn completed successfully]]
*Troubleshooting: if the burn fails or stops, try again with a lower baudrate (115200), use a different USB cable or USB port, and make sure no other program (Arduino IDE, serial monitor) is using the COM port.*
Congratulations, you programmed your M5Stack.
Continue with the setup [here](./Setup).
--- *Looking for the previous installation method? See the [old Windows instructions](./WindowsOld).*