SurrealDB Docs Logo

Enter a search query

Version command

The version command outputs the current version of the installed command-line tool, and the machine architecture.

BEFORE YOU START

Make sure you’ve installed SurrealDB — it should only take a second!

Command options

ArgumentsDescription

-e / --endpoint

optional

Remote database server url to connect to [aliases: conn]

Example usage

To display the current command-line tool version, along with the platform and architecture, in a terminal run the surreal version command without any further arguments.

You can use any of the following commands to display the version of the installed command-line tool:

surreal version

Check version with CLI flags

Available since: v1.2.0

surreal -V
surreal --version

Command help

To see the help information and usage instructions, in a terminal run the surreal version --help command without any further arguments. This command gives general information on the arguments, inputs, and additional options for the version command.

surreal version --help

The output of the above command :

Output the command-line tool and remote server version information Usage: surreal version [OPTIONS] Options: -e, --endpoint <ENDPOINT> Remote database server url to connect to [aliases: conn] -h, --help Print help

On this page

© SurrealDB GitHub Discord Community Cloud Features Releases Install