Access to the neo4j-shell in NEO4J CE 3.x

From Neo4j 3.0 access to neo4j-shell is no longer possible from the desktop-installers for Windows and OSX.

To use neo4j-shell, you have to download the TAR/ZIP distribution from: http://neo4j.com/download/other-releases/

For importing files that contain semicolon separated cypher commands, you can also use:

The official Neo4j-Docker image can also come handy.

docker pull neo4j
CONTAINER=$(docker run -d --name neo4j -p 7474:7474 -v /path/to/data:/data -v /path/to/csv-files:/var/lib/neo4j/import neo4j)
echo "Running Neo4j as $CONTAINER, waiting for startup"
sleep 10
# to import a file from `/path/to/csv-files/import.cypher`
docker exec $CONTAINER /var/lib/neo4j/bin/neo4j-shell -f /var/lib/neo4j/import/import.cypher
# or for interactive mode
docker exec -ti $CONTAINER /var/lib/neo4j/bin/neo4j-shell

If I install from the yum repo, what else do I need to do/download/install to use neo4j-shell? A professor was using neo4j-shell in a seminar and I'd like to reproduce his exercises.

Or maybe I already have neo4j-shell through a magical java -cp XXX $OPTIONS $DEFINES org.neo4j.neo4j-shell-entry-point $NEO4J-SHELL-OPTs ?

Or is cypher-shell almost the same as neo4j-shell? I see that the prompts are different.