# Installation error on windows

**URL:** <https://root-forum.cern.ch/t/installation-error-on-windows/50165>\
**Category:** Newbie\
**Created:** [May 28, 2022, 7:27am UTC](https://root-forum.cern.ch/t/installation-error-on-windows/50165 "2022-05-28T07:27:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Wile\_E\_Coyote](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/wile_e_coyote/32/12417_2.png) [@Wile\_E\_Coyote](https://root-forum.cern.ch/u/Wile_E_Coyote)\
**Post date:** [May 28, 2022, 7:58am UTC](https://root-forum.cern.ch/t/installation-error-on-windows/50165/4 "2022-05-28T07:58:55Z")

</div>

Try something like this:

```bash
rm -rf root_src root_build root_install
git clone --branch v6-26-00-patches --depth=1 https://github.com/root-project/root.git root_src
mkdir root_build
cd root_build
cmake -Dall="ON" -DCMAKE_INSTALL_PREFIX=../root_install ../root_src
cmake --build . -- install -j4

```

---

_[View the full topic](https://root-forum.cern.ch/t/installation-error-on-windows/50165)._
