Skip to main content

Run RisingWave locally

This article will help you start a RisingWave standalone instance in your environment.

caution

This method starts RisingWave in playground mode, where data is not persisted after the service is terminated.
Start RisingWave in full-featured mode for data persistence and stable performance.
→ See the comparison

Install and start RisingWave

You can download the pre-built library or build from the latest source code:

  1. Download the pre-built binary.

    wget https://github.com/risingwavelabs/risingwave/releases/download/v0.1.17/risingwave-v0.1.17-x86_64-unknown-linux.tar.gz

    You can find previous binary releases in Release notes.

  2. Unzip the binary.

    tar xvf risingwave-v0.1.17-x86_64-unknown-linux.tar.gz
  3. Start RisingWave in playground mode.

    ./risingwave playground

        If you see the logs, you have successfully started RisingWave.

RisingWave Playground Logs

Connect to RisingWave

After RisingWave is up and running, you need to connect to it via the Postgres interactive terminal psql so that you can issue queries to RisingWave and see the query results.

Open a new terminal window and run:

psql -h localhost -p 4566 -d dev -U root

You can now connect a streaming source to RisingWave and issue SQL queries to manage your data.

Help us make this doc better!