How to install Neo4j on macOS using Homebrew

This post provides a step-by-step guide with a list of commands on how to install Neo4j on macOS using Homebrew. Neo4j is a graph database management system developed by Neo4j, Inc.

What is Neo4j?

“Neo4j is a native graph database platform that is built to store, query, analyze and manage highly connected data more efficiently than other databases. Described by its developers as an ACID-compliant transactional database with native graph storage and processing, Neo4j is the most popular graph database according to DB-Engines ranking.” ~ Wikipedia

What is Homebrew?

Homebrew is a free and open-source software package management system that simplifies the installation of software on Apple’s macOS operating system. It is known as the missing package manager for macOS.

Quick Commands

The following is the single command required to install Neo4j on macOS using Homebrew.

$ brew install neo4j 

Brew Commands

This section provide a quick set of commands on how to install Neo4j on macOS using Homebrew. It is assumed that Homebrew is already installed. If not, please follow this link.

$ brew update             # Fetch latest version of homebrew and formula.
$ brew search neo4j       # Searches for formula called neo4j
$ brew info neo4j         # Displays information about neo4j
$ brew install neo4j      # Install the neo4j formulae.
$ brew cleanup            # Remove any older versions of any formula

Related Post

After you have installed Neo4j on macOS, you should also read how to run Neo4j on macOS.


Congratulations! You have successfully installed Neo4j on macOS making use of Homebrew. Follow me on any of the different social media platforms and feel free to leave comments.