O'Reilly logo

Learning Neo4j 3.x - Second Edition by Rik Van Bruggen, Jérôme Baton

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cypher-shell

Cypher-shell is a command-line tool that comes with the default installation of Neo4j.

You will find it in the $NEO_HOME/bin folder. As already stated, it allows you to run Cypher queries interactively on a Neo4j server, such as the Neo4j browser:

Cypher-shell, interactive mode

It is also possible to use it in a unix-ian way, as the destination of a file. Suppose that we have a file named count.cy containing this query:

MATCH (n)RETURN count(n);

We can use Cypher-shell like this:

Cypher-shell, in 'like a sysadmin' mode

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required