Skip to content

Instantly share code, notes, and snippets.

@fatlazycat
Created April 16, 2014 14:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fatlazycat/10887613 to your computer and use it in GitHub Desktop.
Save fatlazycat/10887613 to your computer and use it in GitHub Desktop.
neo4j install in homebrew
~ $ brew info neo4j
neo4j: stable 2.0.2
http://neo4j.org
/usr/local/Cellar/neo4j/2.0.2 (90 files, 37M) *
Built from source
From: https://github.com/Homebrew/homebrew/commits/master/Library/Formula/neo4j.rb
==> Caveats
Quick-start guide:
1. Start the server manually:
neo4j start
2. Open the neo4j browser:
open http://localhost:7474/browser/
3. Start exploring the REST API:
curl -v http://localhost:7474/db/data/
4. Stop:
neo4j stop
To launch on startup, install launchd-agent to ~/Library/LaunchAgents/ with:
neo4j install
If this is an upgrade, see:
/usr/local/Cellar/neo4j/2.0.2/libexec/UPGRADE.txt
The manual can be found in:
/usr/local/Cellar/neo4j/2.0.2/libexec/doc/
You may need to set JAVA_HOME for Java 7 in your shell profile:
export JAVA_HOME="$(/usr/libexec/java_home -v 1.7)"
~ $ neo4j install
Legacy install now lives in the 'neo4j-installer' script
~ $ which neo4j-installer
~ $
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment