title: How to install Basex for command line on OS X using Homebrew?
body: <p>I'm trying to install BaseX using Homebrew on OS X:</p>
  
  <pre><code>$ brew cask install basex
  ==&gt; We need to make Caskroom for the first time at /opt/homebrew-cask/Caskroom
  ==&gt; We'll set permissions properly so we won't need sudo in the future
  Password:
  ==&gt; Downloading http://files.basex.org/releases/8.1.1/BaseX811.app.tar.bz2
  ######################################################################## 100.0%
  ==&gt; Symlinking App 'BaseX.app' to '/Users/user/Applications/BaseX.app'
    basex staged at '/opt/homebrew-cask/Caskroom/basex/8.1.1' (148 files, 153M)
  $ basex
  -bash: basex: command not found
  </code></pre>
  
  <p>What exactly needs to be done to run it from command line?</p>