# Installing RStan (and StanHeaders) on Windows ATM

**URL:** <https://discourse.mc-stan.org/t/installing-rstan-and-stanheaders-on-windows-atm/13132>\
**Category:** RStan\
**Tags:** rstan\
**Created:** [February 16, 2020, 2:07am UTC](https://discourse.mc-stan.org/t/installing-rstan-and-stanheaders-on-windows-atm/13132 "2020-02-16T02:07:15Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![bgoodri](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/bgoodri/32/4451_2.png) [@bgoodri](https://discourse.mc-stan.org/u/bgoodri)\
**Post date:** [April 23, 2020, 2:43am UTC](https://discourse.mc-stan.org/t/installing-rstan-and-stanheaders-on-windows-atm/13132/3 "2020-04-23T02:43:48Z")

</div>

Now do

```
install.packages("rstan", type = "win.binary", dependencies = TRUE)
install.packages(
"https://win-builder.r-project.org/aRC5uk2E56sw/StanHeaders_2.19.2.zip",
repos = NULL, type = "win.binary")

```

---

_[View the full topic](https://discourse.mc-stan.org/t/installing-rstan-and-stanheaders-on-windows-atm/13132)._
