483 B
483 B
Installation
curl -sSf https://install.surrealdb.com | sh
sudo mv /home/wyatt/.surreal/surreal /usr/local/bin
Syntax
surreal ...
The dots represent a subcommand that is supposed to present. Almost if not all commands (and subcommands) always come with a --help
flag so you can get a reference on what the command does
Starting the database
Optinosurreal start --auth --user root --pass root
surreal start --auth --user root --pass root file://path/to/database