Skip to content

Instantly share code, notes, and snippets.

@jexp
Last active May 24, 2017 08:41
Show Gist options
  • Save jexp/4692ad9cd14b6d9c1cc8bffa079c98fa to your computer and use it in GitHub Desktop.
Save jexp/4692ad9cd14b6d9c1cc8bffa079c98fa to your computer and use it in GitHub Desktop.
launch neo4j-shell in Neo4j-Desktop (exe on Windows, dmg on OSX)
/Applications/Neo4j Community Edition.app/Contents/Resources/jre.bundle/Contents/Home/jre/bin/java \
-cp /Applications/Neo4j\ Community\ Edition.app/Contents/Resources/app/bin/neo4j-desktop-3.0.2.jar org.neo4j.tooling.ImportTool "$@"
/Applications/Neo4j Community Edition.app/Contents/Resources/jre.bundle/Contents/Home/jre/bin/java \
-cp /Applications/Neo4j\ Community\ Edition.app/Contents/Resources/app/bin/neo4j-desktop-3.0.2.jar org.neo4j.shell.StartClient "$@"
"C:\Program Files\Neo4j Community\jre\bin\java" -cp "C:\Program Files\Neo4j Community\bin\neo4j-desktop-3.0.2.jar" \
org.neo4j.tooling.ImportTool %*
"C:\Program Files\Neo4j Community\jre\bin\java" -cp "C:\Program Files\Neo4j Community\bin\neo4j-desktop-3.0.2.jar" \
org.neo4j.shell.StartClient %*
@MohammedNajim
Copy link

Hi,
I don't know how to reach of the Neo4j by the terminal. I have mac machine, I can't start or do anything else with it, and also when I installed the Neo4j I just copied to the applications folder because the Neo4j installer didn't appear in the bin folder. also i faced the import problem. The version which I'm using is 3.0.6. please tell how I can run the script above because the Neo4j-import.sh is close, I can't modify it.
thanks

@acis
Copy link

acis commented Jan 29, 2017

Thanks so much for this!

@zhaobingcn
Copy link

it works, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment