Neo4j Installation

The most popular Graph Database the Neo4j is so much easy to install locally in your system. To install neo4j in any system the procedure varies on the operating system but here you will get all of them one by but the visuals only for Linux Ubuntu and the steps for the mac and windows you will know here.

First you need to download the tar file of neo4j from here, this is the community edition which is free of cost there is one more edition enterprise edition that is not free. The website will provide you the required version for your operating system so you do not need to choose any version or anything else just click the Download button and provide the details asked for in that page. After that downloading will start in few seconds. After that all the steps are described one by one below.

Install neo4j in Linux Ubuntu:

  • Step 1:
    Copy the downloaded file to somewhere where you want to work, after the open you terminal go to that folder by

    $ cd folderaddress

    Unzip the Downloaded file by using below command:

    $ tar -xf Downloaded file name
    like: $ tar -xf neo4j-enterprise-3.5.8-unix.tar.gz
  • Step 2:
    Now to run the neo4j run the below command:

    $unzip filename/bin/neo4j console
    like: $ neo4j-community-3.5.8/bin/neo4j console

    This command will run the neo4j in you browser background.

  • Step 3:
    To check open any browser and visit this localhost http://localhost:7474 after vising the host you will get something like the below picture.

    • The username and password is neo4j by default. After putting the password you will get to update your password.
    • After updating the new password you will get something like this. In the below picture you can see that the server in connected.

Install neo4j in Mac:

  • Open the dmg file you just downloaded.
  • Drag the Neo4j icon into your Applications folder. Watch the video to see this in action.
    Open Neo4j from your Applications folder. You might need to acknowledge that you downloaded the application from the Internet.
  • Press Start button to start the Neo4j server.
  • Open the provided URL above in any web browser.
  • Change the password for the neo4j account default password is neo4j.

Install neo4j in Windows(.exe):

This procedure require JRE (Java Runtime Environment) to run neo4j.

  • Launch the installer you just downloaded. You have to give the installer permission to make changes to your computer, press yes.
  • Follow al the prompts, and choose the option to Run Neo4j.
  • Press the Start button to start the Neo4j server.
  • Open the provided URL above in any web browser.
  • Change the password for the neo4j account default password is neo4j.

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up

Check out this Author's contributed articles.

If you like GeeksforGeeks and would like to contribute, you can also write an article using or mail your article to See your article appearing on the GeeksforGeeks main page and help other Geeks.

Please Improve this article if you find anything incorrect by clicking on the "Improve Article" button below.

Article Tags :
Practice Tags :

Be the First to upvote.

Please write to us at to report any issue with the above content.