mpiler" class="section level2" number="1.3">
<h2><span class="header-section-number">1.3</span> Checking the Stan compiler</h2>
<p>To check that the CmdStan installation is complete
and in working order, run the following series of commands
from the folder which CmdStan was installed.</p>
<p>On Linux and macOS:</p>
<pre><code># compile the example
&gt; make examples/bernoulli/bernoulli

# fit to provided data (results of 10 trials, 2 out of 10 successes)
&gt; ./examples/bernoulli/bernoulli sample data file=