title: Running prolog on a mac
body: <p>I am having the hardest trouble trying to run SWI-prolog on my Mac. </p>
  
  <p>When I type:</p>
  
  <pre><code>/opt/bin/local/swipl
  </code></pre>
  
  <p>I get an error saying:</p>
  
  <pre><code>/opt/local/bin/swipl: No such file or directory
  </code></pre>
  
  <p>When I just type "swipl" I get:    </p>
  
  <pre><code>swipl: command not found
  </code></pre>
  
  <p>I've tried this on both terminal and XQuartz. I've even gone into</p>
  
  <pre><code>/Applications/SWI-Prolog.app/Contents/MacOS
  </code></pre>
  
  <p>to see if that would do anything, however the prolog "Welcome" text never appears. Quite possibly the closest I ever got it to work was when I typed "pl" when inside the MacOS folder. However I was left with my terminal doing nothing and had to use Crtl-D.</p>
  
  <p>Is there something I'm doing wrong? Did I install something incorrectly?</p>
  
  <p>I'm running on a Mac OS X 10.9.1 Mavericks. I placed the SWI-Prolog application into my application folder and I also downloaded XQuartz per recommendation by the website.</p>