Getting Started¶
Get up and running with Axium in minutes.
Installation¶
Install in editable mode:
Shell Integration¶
Load Axium shell integration (adds the ax alias):
Add this to your .bashrc or .zshrc to load automatically:
# Axium shell integration
[ -f ~/path/to/axium/bash/init.sh ] && source ~/path/to/axium/bash/init.sh
First Steps¶
1. Set an Environment (Daemon Auto-Starts)¶
The daemon automatically starts when you run any axium command:
The daemon runs in the background and maintains your session state, handling IPC operations, events, and completion cache updates.
Note: You don't need to manually start the daemon - it starts automatically when needed.
2. Verify Daemon is Running¶
Check daemon status:
3. View the HUD¶
Output:
4. Test Shell Completions¶
Axium provides fast shell completions that auto-update:
axium env <TAB> # Shows: get list set show
axium daemon <TAB> # Shows: logs reload start status stop
See Shell Completions for installation.
5. Launch the Palette¶
The interactive palette provides quick access to common commands and Spoke actions.
Configuration¶
Axium automatically creates its configuration directory at ~/.config/axium/ on first run.
Contents:
axiumd.log— daemon log filestate.json— daemon state (env, aws profile, etc.)spokes/— installed plugin foldersenvs.yaml— environment definitionsprefixes.yaml— command prefix mappings
Environment Variables¶
AXIUM_DEBUG=1— enables verbose debug logsAXIUM_HOME— override default config directory
Example Workflows¶
Switch Environment¶
Output:
Reload Daemon¶
Reload daemon configuration without restart:
View Logs¶
Development Setup¶
Requirements:
- Python ≥ 3.9
- Typer
- PyYAML
- pytest
Setup: