Skip to content

Install & Run

SetupmacOS / Linux

Run the aetheriusd daemon on your machine. By default it exposes three wire endpoints (native, PostgreSQL pgwire, and Arrow Flight SQL) and stores data in a local directory.

PlatformTierNotes
macOS (Apple Silicon, arm64)Tier 1Development primary
Linux x86_64Tier 1Fastest bulk-ingest path
Linux aarch64Tier 1Fastest bulk-ingest path
WindowsUse WSL2

AetheriusDB is a Rust project; you need a recent Rust toolchain (1.79+).

Terminal window
# Clone the repository
git clone https://github.com/your-org/aetherius.git
cd aetherius
# Build the daemon and the AetherTerm REPL in release mode
cargo build --release -p aetheriusd -p aether-term
# Run the daemon (creates ./aetherius-data on first start)
./target/release/aetheriusd --data-dir ./aetherius-data

You should see a banner like:

aetheriusd · listening:
pgwire: 127.0.0.1:5678
native: 127.0.0.1:5679
flight: 127.0.0.1:8815 (Arrow Flight SQL)
data-dir: ./aetherius-data

If you don’t want to build from source, grab a pre-built tarball from the Download page — the database server and client tools for Linux, macOS, and Windows, with every published version listed.

Terminal window
# Unpack the database-server tarball and start the daemon
tar -xzf aetheriusdb-<version>-<os>-<arch>.tar.gz
cd aetheriusdb-<version>-<os>-<arch>
./aetheriusd --data-dir ./aetherius-data

The Client Tools tarball unpacks aesql and the AetherTerm REPL the same way.

From another terminal, use the bundled REPL to confirm everything works:

./target/release/aether-term
aether> CREATE TABLE hello (id BIGINT, msg TEXT);
-- OK
aether> INSERT INTO hello VALUES (1, 'world');
-- 1 row affected
aether> SELECT * FROM hello;
id | msg
----+------
1 | world
(1 row)
FlagPurpose
--data-dir <PATH>Where data is stored. Default ./aetherius-data.
--port <N>PostgreSQL pgwire port. Default 5678.
--native-port <N>Native binary protocol port. Default 5679.
--flight-port <N>Arrow Flight SQL port. Default 8815.
--disable-flightDon’t start the Flight SQL listener.
--disable-nativeDon’t start the native listener.
--native-auth-token <TOK>Require a bearer token on the native protocol. Env: AETHERIUS_NATIVE_AUTH_TOKEN.
--flight-auth-token <TOK>Require a bearer token on Flight SQL. Env: AETHERIUS_FLIGHT_AUTH_TOKEN.

See the configuration matrix for the full list, including the feature flags that turn JIT, parallelism, and HTAP on.

Send SIGTERM (or press Ctrl-C). In-flight clients are notified, connections drain gracefully, and the daemon exits within a few seconds.

Terminal window
kill -TERM $(pgrep aetheriusd)