@flux-finance/cli
v1.3.1
Published
Install and manage FluxFinance — personal finance AI agent
Maintainers
Readme
@flux-finance/cli
Install and manage FluxFinance — a personal finance AI agent with Telegram bot and web UI.
Quick Start
npx @flux-finance/cli@latestThis launches an interactive setup wizard that guides you through everything.
Prerequisites
- Docker Desktop installed and running
- Node.js 18+
Setup Wizard
The wizard walks you through:
- Docker check — verifies Docker is installed and running
- Claude authentication — auto-detects from Claude CLI or prompts for token
- Telegram bot creation — QR code + step-by-step instructions for @BotFather
- Telegram user ID — QR code + instructions for @raw_data_bot
- Port selection — defaults to 5173
- Install & start — pulls the Docker image and starts FluxFinance
Commands
| Command | Description |
| ------------------------------ | -------------------------------------------------- |
| npx @flux-finance/cli | Run setup wizard (first time) or start FluxFinance |
| npx @flux-finance/cli start | Start FluxFinance |
| npx @flux-finance/cli stop | Stop FluxFinance |
| npx @flux-finance/cli status | Show running status |
| npx @flux-finance/cli logs | View container logs |
| npx @flux-finance/cli update | Pull latest image and restart |
| npx @flux-finance/cli config | Show current configuration |
| npx @flux-finance/cli ngrok | Set up remote access via ngrok |
| npx @flux-finance/cli reset | Wipe configuration (data is preserved) |
Configuration
All configuration is stored in ~/.flux-finance/:
~/.flux-finance/
├── .env # Credentials and settings
└── data/ # Application data (persisted across updates)
├── sqlite/ # Database
├── zvec/ # Vector embeddings
└── backups/ # Backup archivesEnvironment Variables
| Variable | Description |
| --------------------- | ---------------------------------------- |
| TELEGRAM_BOT_TOKEN | Your Telegram bot token from @BotFather |
| TELEGRAM_ALLOW_FROM | Your Telegram user ID |
| CLAUDE_AUTH_TOKEN | Claude authentication token |
| FLUX_SECRET_KEY | Auto-generated encryption key |
| PORT | Web UI port (default: 5173) |
| NGROK_AUTHTOKEN | Optional — ngrok token for remote access |
Updating
npx @flux-finance/cli updateThis pulls the latest Docker image and restarts the container. Your data is preserved.
Uninstalling
npx @flux-finance/cli stop
npx @flux-finance/cli resetTo also remove your data:
rm -rf ~/.flux-financeLicense
MIT
