Skip to main content

Installation

Running with Docker

  • Requirement

    • Docker
  • Follow Running with Docker guide

  • Run the docker-compose to start the Wren Engine service

    docker compose --env-file .env up
  • Connect from PostgreSQL drivers using port 7432, example here we use psql

    psql 'host=localhost user=ina dbname=wren port=7432 options=--search_path=tpch'

    If psql: command not found or not install psql, you can install it via instruction in this website

Running with JAR

  • Requirements:

    • Java 21+
  • Follow Running with JAR

  • Run the executable jar to start the Wren Engine service

    java \
    -Dconfig=etc/config.properties \
    --add-opens=java.base/java.nio=ALL-UNNAMED \
    -jar wren-server-executable.jar
  • Connect from PostgreSQL drivers using port 7432, example here we use psql

    psql 'host=localhost user=ina dbname=wren port=7432 options=--search_path=tpch'

    If psql: command not found or not install psql, you can install it via instruction in this website