This section explains how to install Veil from source and prepare a local runtime directory for first use.
- you are setting up Veil for the first time
- you need the required runtime prerequisites
- you want the default local file layout before running any role
- Node.js
22+ npm- network access for upstream model APIs when running a Provider
- a writable local home directory or a custom
VEIL_HOME
git clone https://github.com/runveil-io/core.git
cd core
npm install
npm testBy default, Veil stores local runtime files under ~/.veil.
Typical files:
wallet.jsonconfig.jsonprovider.jsondata/*.db
You can override the base directory with:
export VEIL_HOME=/path/to/veil-homeInitialize a wallet:
veil initThis creates:
- a signing keypair
- an encryption keypair
- local config for the gateway and Relay connection
Use the local gateway with an OpenAI-compatible client:
veil init
# point your client at http://localhost:9960/v1Default gateway port: 9960
Configure and start a Provider:
veil provide init
veil provide startDefault Provider health port: 9962
Start a Relay node:
veil relay startDefault Relay port: 8080
Run the test suite:
npm testFor more runtime usage, continue to the manual.