CLI client for Minara.ai — login, trade, deposit/withdraw, chat and more from your terminal.
Package Exports
minara
minara/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (minara) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Minara CLI
Your AI-powered digital finance assistant — from the terminal.
Trade, swap, chat, and manage your portfolio without leaving the command line.
Features
Multi-method Login — Email verification code, Google OAuth, or Apple ID
Deposit & Withdraw — View deposit addresses across chains, withdraw to external wallets
Asset Management — View wallet balances across all supported chains
AI Chat — Stream conversations with Minara AI, with thinking and deep-research modes
Spot Trading — Cross-chain token swaps with dry-run simulation
minara perps deposit -a100# Deposit 100 USDC to perps
minara perps withdraw -a50# Withdraw 50 USDC from perps
minara perps positions # List current positions
minara perps order # Interactive: choose symbol, side, size, price
minara perps leverage # Interactive: set leverage for a trading pair
Limit Orders
Command
Description
minara limit-order create
Create a price-triggered limit order
minara limit-order list
List all your limit orders
minara limit-order cancel <id>
Cancel a specific order by ID
minara limit-order create # Interactive: token, price, side, amount, expiry
minara limit-order list # Show all orders with status
minara limit-order cancel abc123 # Cancel order by ID
Copy Trading
Command
Description
minara copy-trade create
Create a new copy-trade bot
minara copy-trade list
List all copy-trade bots
minara copy-trade start <id>
Start a paused bot
minara copy-trade stop <id>
Pause a running bot
minara copy-trade delete <id>
Delete a bot permanently
minara copy-trade create # Interactive: target wallet, chain, amount, options
minara copy-trade list # Show all bots with status
minara copy-trade start abc123 # Resume a paused bot
minara copy-trade stop abc123 # Pause a running bot
AI Chat
Command
Description
minara chat [message]
Send a message (or enter interactive mode)
minara chat --list
List all your conversations
minara chat --history <chatId>
View messages in a conversation
minara chat "What is the current BTC price?"# Single question, streamed answer
minara chat # Enter interactive REPL mode
minara chat --thinking"Analyze ETH outlook"# Enable reasoning mode
minara chat --deep-research "DeFi yield trends"# Deep research mode
minara chat --list# List past conversations
minara chat --history<chatId># Replay a specific conversation
Market Discovery
Command
Description
minara discover trending
View currently trending tokens
minara discover search <keyword>
Search for tokens or stocks by name
minara discover fear-greed
View the crypto Fear & Greed Index
minara discover btc-metrics
View Bitcoin on-chain and market metrics
minara discover trending # Top trending tokens right now
minara discover search SOL # Search for tokens matching "SOL"
minara discover fear-greed # Current market sentiment index
minara discover btc-metrics # Bitcoin hashrate, supply, dominance, etc.
Configuration
Command
Description
minara config
View or update CLI settings (e.g. API base URL)
Supported Chains
Ethereum, Base, Arbitrum, Optimism, Polygon, Avalanche, Solana, BSC, Berachain, Blast, Manta, Mode, Sonic, and more.
Development
# Install dependenciesnpminstall# Buildnpm run build
# Watch modenpm run dev
# Run locallynode dist/index.js --help# Link globally for testingnpmlink
minara --help
Testing
Test suite built with Vitest — 119 tests covering unit, API, and command integration layers.
npmtest# Run all testsnpm run test:watch # Watch modenpm run test:coverage # With coverage report
Security
Credentials are stored in ~/.minara/credentials.json with 0600 file permissions
The ~/.minara/ directory is created with 0700 permissions
Tokens are never logged or printed to the console
OAuth login uses a temporary local server that shuts down after the callback
Non-TTY environments (CI/pipes) skip interactive prompts and return errors directly