Installing ArangoDB on macOS
- Homebrew
- (starting from v3.4.0)
When installing ArangoDB via the macOS package manager Homebrew, only the Community Edition is available.
The Homebrew installation is updated a few days after the official release of a new version.
If you are using homebrew, then you can install the latest released stable version of ArangoDB using brew as follows:
This will install the current stable version of ArangoDB and all dependencies within your Homebrew tree. Note that the server will be installed as:
<VERSION>
is a placeholder for the actual version number, e.g. 3.5.0
.
You can start the server by running the command:
The ArangoDB shell will be installed as:
/usr/local/Cellar/arangodb/<VERSION>/bin/arangosh
You can uninstall ArangoDB using:
brew uninstall arangodb
However, in case you started ArangoDB using the launchctl, you need to unload it before uninstalling the server:
Then remove the LaunchAgent:
If the latest ArangoDB version is not shown in Homebrew, you also need to update Homebrew executing the command brew update
.
- The ArangoDB Starter is not included in v3.3.x, but shipped with all 3.4.x versions.
- The Commandline argument parsing does not 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.:
[server]
You can install the application in your application folder.
Starting the application will start the server and open a terminal window showing you the log-file.
Note that it is possible to install both, the homebrew version and the command-line app. You should, however, edit the configuration files of one version and change the port used.
Starting from v3.4.0 a tar.gz package is also available for macOS.
Visit the official page of the ArangoDB website and download the tar.gz archive for macOS.
To install, just extract the archive.