# How to download root on windows

**URL:** <https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402>\
**Category:** Newbie\
**Created:** [May 14, 2020, 6:55am UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402 "2020-05-14T06:55:34Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 1:52pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/21 "2020-05-17T13:52:21Z")

</div>

![image](https://root-forum.cern.ch/uploads/default/original/3X/b/7/b7e70d207a65d5e33f7f1025fb8931216db0f678.png)  
This is what shows up. I have installed Root. How do I launch it now?

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 17, 2020, 3:12pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/22 "2020-05-17T15:12:33Z")

</div>

Where did you install it?

---

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 3:20pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/23 "2020-05-17T15:20:25Z")

</div>

In a folder in the the downloads section

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 17, 2020, 3:27pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/24 "2020-05-17T15:27:07Z")

</div>

So from `C:\Program Files (x86)\Microsoft Visual Studio\2019\Community` cd to your preferred directory, for example: `cd %USERPROFILE%`, then type: `Download\[folder where root is]\bin\thisroot.bat`, and finally you should be able to start root by typing `root`  
Obviously, you have to replace `[folder where root is]` by the location where you installed root

---

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 3:27pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/25 "2020-05-17T15:27:37Z")

</div>

What exactly do you mean by root by root

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 17, 2020, 3:28pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/26 "2020-05-17T15:28:22Z")

</div>

What do you mean?

---

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 3:32pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/27 "2020-05-17T15:32:06Z")

</div>

What is cd %userprofile%?

---

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 3:33pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/28 "2020-05-17T15:33:35Z")

</div>

> [@bellenot](#):
>
> `folder where root is]`

What is the syntax for writing this command?

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 17, 2020, 3:33pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/29 "2020-05-17T15:33:57Z")

</div>

Do you know how to use a computer?

---

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 3:34pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/30 "2020-05-17T15:34:54Z")

</div>

Yes I should think so ?

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 17, 2020, 3:35pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/31 "2020-05-17T15:35:39Z")

</div>

Well, you don’t know how to change directory, which is a very basic command, so I was wondering…

---

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 3:36pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/32 "2020-05-17T15:36:21Z")

</div>

I mean I am not used to coding as such. I have only done basic compilation using a C++ compiler. Otherwise, I am a total beginner.

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 17, 2020, 3:38pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/33 "2020-05-17T15:38:17Z")

</div>

OK, no problem. So you never used the command prompt?  
Once you started the command prompt, as you wrote there:

> [@esh187](#):
>
> ![image](https://root-forum.cern.ch/uploads/default/original/3X/b/7/b7e70d207a65d5e33f7f1025fb8931216db0f678.png)
> 
> This is what shows up. I have installed Root. How do I launch it now?

type: `cd %USERPROFILE%`

---

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 3:39pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/34 "2020-05-17T15:39:25Z")

</div>

okay done

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 17, 2020, 3:40pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/35 "2020-05-17T15:40:27Z")

</div>

What is displayed in the command prompt now?

---

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 3:41pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/36 "2020-05-17T15:41:08Z")

</div>

C:\ USERS \ “username” \>

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 17, 2020, 3:42pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/37 "2020-05-17T15:42:29Z")

</div>

Good, so now, type: `Downloads\root\bin\thisroot.bat`

---

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 3:44pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/38 "2020-05-17T15:44:28Z")

</div>

The system cannot find the path specified:

It’s installed in a folder called “INTERNSHIPS” in the downloads section

---

<div class="post-metadata">

**Author:** ![bellenot](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/bellenot/32/29217_2.png) [@bellenot](https://root-forum.cern.ch/u/bellenot)\
**Post date:** [May 17, 2020, 3:46pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/39 "2020-05-17T15:46:28Z")

</div>

`Downloads\INTERNSHIPS\root\bin\thisroot.bat`, or wherever root is installed. please make an effort…

---

<div class="post-metadata">

**Author:** ![esh187](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/esh187/32/24961_2.png) [@esh187](https://root-forum.cern.ch/u/esh187)\
**Post date:** [May 17, 2020, 3:47pm UTC](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402/40 "2020-05-17T15:47:15Z")

</div>

That is EXACTLY what I did try

[Previous page](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402.md?page=1)

[Next page](https://root-forum.cern.ch/t/how-to-download-root-on-windows/39402.md?page=3)
