Chapter 31. Neo4j Shell
Table of Contents
- 31.1. Starting the shell
- 31.2. Passing options and arguments
- 31.3. Enum options
- 31.4. Filters
- 31.5. Node titles
- 31.6. How to use (individual commands)
- Current node/relationship and path
- Listing the contents of a node/relationship
- Creating nodes and relationships
- Setting, renaming and removing properties
- Deleting nodes and relationships
- Environment variables
- Executing groovy/python scripts
- Query with Cypher
- Listing Indexes and Constraints
- Legacy Indexing
- Dumping the database or Cypher statement results
- 31.7. An example shell session
- 31.8. A Matrix example
Neo4j shell is a command-line shell for running Cypher queries.
There’s also commands to get information about the database.
In addition, you can browse the graph, much like how the Unix shell along with commands like
pwd can be used to browse your local file system.
It’s a nice tool for development and debugging. This guide will show you how to get it going!