p>
<p>We recommend installing CmdStan in a new conda environment:</p>
<pre><code> conda create -n stan -c conda-forge cmdstan</code></pre>
<p>This command creates a new conda environment named <code>stan</code> and
downloads and installs the <code>cmdstan</code> package
as well as CmdStan and the required C++ toolchain.</p>
<p>To install into an existing conda environment, use the conda <code>install</code> command instead of <code>create</code>:</p>
<pre><code> conda install -c conda-forge cmdstan</code></