Table of Contents
- 30.1. Starting the shell
- 30.2. Passing options and arguments
- 30.3. Enum options
- 30.4. Filters
- 30.5. Node titles
- 30.6. How to use (individual commands)
- Comments
- 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
- Traverse
- Query with Cypher
- Listing Indexes and Constraints
- Legacy Indexing
- Transactions
- Dumping the database or Cypher statement results
- 30.7. Example shell sessions
Neo4j shell is a command-line shell for running Cypher queries.
There are 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 cd
, ls
and 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!