cypher-shell

Command-line shell for executing Cypher queries against Neo4j

brewmacoslinux
Try with needOr install directly
Source

About

Command-line shell where you can execute Cypher against Neo4j

Commands

cypher-shell

Examples

Connect to a local Neo4j database and start interactive shell$ cypher-shell -a neo4j://localhost:7687 -u neo4j -p password
Execute a single Cypher query non-interactively$ cypher-shell -a neo4j://localhost:7687 -u neo4j -p password 'MATCH (n) RETURN count(n)'
Run Cypher commands from a file$ cypher-shell -a neo4j://localhost:7687 -u neo4j -p password < queries.cypher