# Running dev environment on Windows WSL

**URL:** <https://forum.communityhealthtoolkit.org/t/running-dev-environment-on-windows-wsl/1970>\
**Category:** Technical Support\
**Created:** [June 30, 2022, 1:48pm UTC](https://forum.communityhealthtoolkit.org/t/running-dev-environment-on-windows-wsl/1970 "2022-06-30T13:48:35Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![mrjones](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/mrjones/32/681_2.png) [@mrjones](https://forum.communityhealthtoolkit.org/u/mrjones)\
**Post date:** [July 18, 2022, 6:34pm UTC](https://forum.communityhealthtoolkit.org/t/running-dev-environment-on-windows-wsl/1970/10 "2022-07-18T18:34:48Z")

</div>

@oyierphil - oh no! I’m sorry you’re still having problems : (

I have a spare windows machine and I was able to get the CHT running locally by using the CHT Docker Helper Script:

1. Ensuring I have [WSL 2 installed](https://docs.microsoft.com/en-us/windows/wsl/install) and running

2. [Install Docker Desktop](https://docs.docker.com/desktop/install/windows-install/)

3. Make sure Docker Destkop is running and in compose v2.0. The script failed on non-obvious ways when Docker Desktop was not running after a reboot - hence me checking “Start when you login”. As well, it would not work unless compose v2 was checked:  

4. Launch a WSL command line with Start Menu → wsl

5. `cd` into your clone of the [CHT Core](https://github.com/medic/cht-core/) Repo `cht-core/scripts/docker-helper`

6. create your `env` file per the [steps in “First Run”](https://github.com/medic/cht-core/tree/master/scripts/docker-helper#first-run)

7. Run the helper script and enjoy a local dev environment!

---

_[View the full topic](https://forum.communityhealthtoolkit.org/t/running-dev-environment-on-windows-wsl/1970)._
