The SurrealDB command-line tool can be used to export a dataset as SurrealQL from a local or remote SurrealDB database, import SurrealQL data into a local or remote database, and start a single SurrealDB instance or distributed cluster.
Start a SurrealDB server in memory, on disk, or in a distributed setup
Import a SurrealQL script file into a local or remote SurrealDB database server
Export a SurrealQL script file from a local or remote SurrealDB database server
Display the current version of the installed command-line tool, and the machine architecture
Start a SurrealQL REPL for running SQL queries on a local or remote SurrealDB server
Display help information and instructions on the command-line tool and its arguments