tes init
Initialize identity and local database.
Usage
tes init
Description
Sets up your local Tesseras environment. This is the first command you should run after installing Tesseras.
The command creates:
| Path | Contents |
|---|---|
~/.tesseras/identity/ | Ed25519 keypair for signing tesseras |
~/.tesseras/db/ | SQLite database for indexing |
~/.tesseras/blobs/ | Blob storage for memory files |
~/.tesseras/config.toml | Configuration file |
Options
| Option | Description |
|---|---|
--data-dir <PATH> | Base directory for data storage (default: ~/.tesseras) |
Idempotent
Running init again is safe. If an identity already exists, it is preserved:
tes init
Ed25519 identity already exists
Database initialized
Tesseras initialized at /home/user/.tesseras
Custom data directory
tes --data-dir /mnt/usb/tesseras init
This creates the full directory structure under /mnt/usb/tesseras/ instead of the default location.
What happens under the hood
- Creates the directory structure (
identity/,db/,blobs/) - Generates an Ed25519 keypair (private key stays local, public key identifies you)
- Runs SQLite migrations to set up the database schema
- Writes a default
config.toml