Mac OS X

The preferred method for installing ArangoDB under Mac OS X ishomebrew. However, in case you are not using homebrew, weprovide a command-line app orgraphical app which contains all the executables.

Homebrew

If you are using homebrew,then you can install the latest released stable version of ArangoDB using brew as follows:

  1. brew install arangodb

This will install the current stable version of ArangoDB and alldependencies within your Homebrew tree. Note that the server will beinstalled as:

  1. /usr/local/sbin/arangod

You can start the server by running the command /usr/local/sbin/arangod &.

Configuration file is located at

  1. /usr/local/etc/arangodb3/arangod.conf

The ArangoDB shell will be installed as:

  1. /usr/local/bin/arangosh

You can uninstall ArangoDB using:

  1. brew uninstall arangodb

However, in case you started ArangoDB using the launchctl, youneed to unload it before uninstalling the server:

  1. launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.arangodb.plist

Then remove the LaunchAgent:

  1. rm ~/Library/LaunchAgents/homebrew.mxcl.arangodb.plist

Note: If the latest ArangoDB Version is not shown in homebrew, youalso need to update homebrew:

  1. brew update

Known issues

  • Performance - the LLVM delivered as of Mac OS X El Capitan builds slow binaries. Use GCC instead,until this issue has been fixed by Apple.
  • the Commandline argument parsing doesn’t accept blanks in filenames; the CLI version below does.
  • if you need to change server endpoint while starting homebrew version, you can edit arangod.conf file and uncomment line with endpoint needed, e.g.:
  1. [server]
  2. endpoint = tcp://0.0.0.0:8529

Graphical App

In case you are not using homebrew, we also provide a graphical app. You candownload it from here.

Choose Mac OS X. Download and install the application ArangoDB inyour application folder.

Command line App

In case you are not using homebrew, we also provide a command-line app. You candownload it from here.

Choose Mac OS X. Download and install the application _ArangoDB-CLI_in your application folder.

Starting the application will start the server and open a terminal windowshowing you the log-file.

  1. ArangoDB server has been started
  2. The database directory is located at
  3. '/Applications/ArangoDB-CLI.app/Contents/MacOS/opt/arangodb/var/lib/arangodb'
  4. The log file is located at
  5. '/Applications/ArangoDB-CLI.app/Contents/MacOS/opt/arangodb/var/log/arangodb/arangod.log'
  6. You can access the server using a browser at 'http://127.0.0.1:8529/'
  7. or start the ArangoDB shell
  8. '/Applications/ArangoDB-CLI.app/Contents/MacOS/arangosh'
  9. Switching to log-file now, killing this windows will NOT stop the server.
  10. 2013-10-27T19:42:04Z [23840] INFO ArangoDB (version 1.4.devel [darwin]) is ready for business. Have fun!

Note that it is possible to install both, the homebrew version and the command-lineapp. You should, however, edit the configuration files of one version and changethe port used.