title: How to use Racket in terminal?
body: <p>I'm having no luck finding a way to have this work the way I'd like it to, so if anyone could help that would be so greatly appreciated.</p>
  
  <p>What I'd like is to be able to do this on Terminal:</p>
  
  <p><code>&gt; racket</code></p>
  
  <p>And then be able to enter Racket commands and have them compile. Like,</p>
  
  <pre><code>&gt; (+ 1 2)
  &gt; 3
  </code></pre>
  
  <p>And hopefully some commands like</p>
  
  <pre><code>&gt; racket myprog.rkt
  &gt; 3
  </code></pre>
  
  <p>Where <code>myprog.rkt</code> was just the file containing <code>(+ 1 2)</code>.</p>
  
  <p>I'm new to this so sorry if it's an obvious question but I just don't know how to make it work.</p>
  
  <p>Thanks.</p>