@relate/cli
CLI tool for interacting with the Neo4j platform.
Run these commands to install and set up your first Relate environment.
$ npm install -g @relate/cli
$ relate env:init development --use
In the second command you can replace development
with any name you want to
use for your environment.
The --use
flag is required to set the environment as active right after it's
created. This means that if you don't provide an --environment=<name>
flag to
following commands, Relate will default to using the environment you just
created.
The env:init
command will download the Java distribution required to run
Neo4j, if this wasn't already done previously. If you wish to use the Java
distribution installed in your system you can provide the --noRuntime
flag.
The following commands can be used to get more information about topics, commands, flags, and arguments available, and how to use them.
$ relate --help
$ relate <topic> --help
$ relate <topic>:<command> --help
relate autocomplete
- display autocomplete installation instructionsrelate backup
- Archives of Relate-managed resources (though not Neo4j databases; see "db:dump").relate db
- Individual databases within a DBMS.relate dbms
- Neo4j DBMS installations.relate dbms-plugin
- Neo4j DBMS plugins.relate environment
- Managed sets of related resources and services.relate help
- Display help for relate.relate project
- Projects bring files and data together.