# Cmdstan not installing

**URL:** <https://discourse.mc-stan.org/t/cmdstan-not-installing/19183>\
**Category:** CmdStan\
**Tags:** cmdstanr\
**Created:** [November 10, 2020, 2:47am UTC](https://discourse.mc-stan.org/t/cmdstan-not-installing/19183 "2020-11-10T02:47:12Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![andrjohns](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.mc-stan.org/andrjohns/32/15297_2.png) [@andrjohns](https://discourse.mc-stan.org/u/andrjohns)\
**Post date:** [November 10, 2020, 3:08am UTC](https://discourse.mc-stan.org/t/cmdstan-not-installing/19183/4 "2020-11-10T03:08:42Z")

</div>

Great! Two things to check next, can you install the github version of `cmdstanr`:

```
devtools::install_github("stan-dev/cmdstanr")

```

And then run:

```
cmdstanr::check_cmdstan_toolchain(fix=TRUE)

```

Which will check that everything is configured and setup correctly. If there’s an error which the program corrects, try installing cmdstan again like before.

If not, and it says that everything is properly setup, then the next step is to check whether it works when you try to install `cmdstan` in a local folder (on your computer, rather than on the networked drive). This can be something like your Documents folder or somewhere on the C:/ drive, as long as it’s not on the networked drive. You can specify this install directory via:

```
install_cmdstan(cores=2, dir = new_install_dir_here)

```

---

_[View the full topic](https://discourse.mc-stan.org/t/cmdstan-not-installing/19183)._
