SurrealDB Docs Logo

Enter a search query

Nightly

Install the Nightly

If you prefer developing on the bleeding edge, you can follow this tutorial to install SurrealDB Nightly. The nightly version is built and released every night at midnight, and includes the latest features, and bug fixes. The nightly version is available for macOS, Linux, and Windows operating systems, and can be installed using the Linux or Unix install script, or using the Windows install script. Alternatively you can run the nightly version with Docker by using the nightly tag.

Installing SurrealDB Nightly on macOS

To get started, you can use the SurrealDB install script. This script securely downloads the latest version for the platform and CPU type. It attempts to install SurrealDB into the /usr/local/bin folder, falling back to a user-specified folder if necessary. The following command will attempt to install the nightly version. You can re-run this command daily to ensure you are running the latest build of SurrealDB.

curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh -s -- --nightly

Installing SurrealDB Nightly on Linux

To get started, you can use the SurrealDB install script. This script securely downloads the latest version for the platform and CPU type. It attempts to install SurrealDB into the /usr/local/bin folder, falling back to a user-specified folder if necessary. The following command will attempt to install the nightly version. You can re-run this command daily to ensure you are running the latest build of SurrealDB.

curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sh -s -- --nightly

Installing SurrealDB Nightly on Windows

To get started, you can use the SurrealDB install script. This script securely downloads the latest version for the platform and CPU type. It installs SurrealDB into the C:\Program Files\SurrealDB folder, falling back to a user-specified folder if necessary. The following command will attempt to install the nightly version. You can re-run this command daily to ensure you are running the latest build of SurrealDB.

iex "& { $(irm https://windows.surrealdb.com) } -Nightly"

Using SurrealDB Nightly with Docker

To use SurrealDB Nightly with Docker, you can use the nightly tag. When running the following command, the latest SurrealDB Nightly version will be pulled from Docker Hub.

docker run --rm --pull always -p 8000:8000 surrealdb/surrealdb:nightly start
© SurrealDB GitHub Discord Community Cloud Features Releases Install