# I cant use Stan.jl.I got Wrning:Environment variable CMDSTAN\_HOME not set. Use set\_cmdstan\_home!

**URL:** <https://discourse.julialang.org/t/i-cant-use-stan-jl-i-got-wrning-environment-variable-cmdstan-home-not-set-use-set-cmdstan-home/61364>\
**Category:** New to Julia\
**Tags:** question, package, stan\
**Created:** [May 18, 2021, 1:46pm UTC](https://discourse.julialang.org/t/i-cant-use-stan-jl-i-got-wrning-environment-variable-cmdstan-home-not-set-use-set-cmdstan-home/61364 "2021-05-18T13:46:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ryuma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ryuma/32/21949_2.png) [@ryuma](https://discourse.julialang.org/u/ryuma)\
**Post date:** [May 18, 2021, 1:46pm UTC](https://discourse.julialang.org/t/i-cant-use-stan-jl-i-got-wrning-environment-variable-cmdstan-home-not-set-use-set-cmdstan-home/61364/1 "2021-05-18T13:46:27Z")

</div>

I use Julia1.6.0.please help me.

I setted the path.  
ENV[“CMDSTAN\_HOME”] = “C:/cmdstan-2.26.1”

```julia
using Stan
┌ Warning: Environment variable CMDSTAN_HOME not set. Use set_cmdstan_home!.
└ @ StanBase C:\Users\salzl\.julia\packages\StanBase\dZJEI\src\StanBase.jl:73

```
