title: Clojure 1.9 command line tools - command not found clj.sh
body: <p>I have just installed clojure 1.9 on my mac via Homebrew.</p>
  
  <p>As expected  I get 2 links in <code>/usr/local/bin</code> to the actual executables</p>
  
  <p><code>clojure@ -&gt; ../Cellar/clojure/1.9.0.358/bin/clojure</code></p>
  
  <p><code>clj@ -&gt; ../Cellar/clojure/1.9.0.358/bin/clj</code></p>
  
  <p>running clojure from the command line works
  <code>
  $ clojure
  Clojure 1.9.0
  user=&gt;
  </code></p>
  
  <p>but for not for the command line tools
  <code>
  $ clj
  zsh: command not found: clj.sh
  </code></p>
  
  <p>both executable files exist
  <code>
  $ ls Cellar/clojure/1.9.0.358/bin 
  clj*     clojure*
  </code></p>
  
  <p>I've tried uninstalling clojure with <code>brew uninstall</code> and have deleted the cached version of <code>clojure-tools-1.9.0.358.tar.gz</code> in my <code>~/Library/Caches/Homebrew/</code> directory.</p>
  
  <p>Installing it again was successful</p>
  
  <pre><code>    $ brew install clojure
      ==&gt; Downloading https://download.clojure.org/install/clojure-tools-1.9.0.358.tar.gz ####### 100.0%
      ==&gt; ./install.sh /usr/local/Cellar/clojure/1.9.0.358
        /usr/local/Cellar/clojure/1.9.0.358: 9 files, 19.4MB, built in 31 seconds
  </code></pre>
  
  <p>but still the same error.</p>
  
  <p>Interestingly if I use the Finder to locate the file and double click on it, a new terminal window opens up and things seem to work.</p>
  
  <pre><code>    Last login: Tue Mar  6 10:35:48 on ttys002
      /usr/local/Cellar/clojure/1.9.0.358/bin/clj ; exit;                             
      $ /usr/local/Cellar/clojure/1.9.0.358/bin/clj ; exit;
      Clojure 1.9.0
      user=&gt; 
  </code></pre>
  
  <p>Any ideas please on why this executable won't run directly from the command line?</p>
  
  <p>Many thanks</p>