Answers to the most common questions about the Consuelo CLI.
Installation
What Node.js version do I need?
Node.js 18 or later. Check your version:
If you have an older version, upgrade via nodejs.org or use nvm:
nvm install 20
nvm use 20
“consuelo: command not found”
The CLI isn’t in your PATH. Solutions:
-
Install globally:
npm install -g @consuelo/cli
-
Check npm global bin is in PATH:
npm bin -g
# Add output to your shell profile (e.g., ~/.zshrc, ~/.bashrc)
export PATH="$PATH:$(npm bin -g)"
-
Use npx instead:
Can I use yarn instead of npm?
Yes:
yarn global add @consuelo/cli
Phone Numbers
Why does my phone number fail validation?
All phone numbers must be in E.164 format: +<country><number>
| Format | Valid? | Example |
|---|
+15551234567 | ✓ | Correct E.164 |
5551234567 | ✗ | Missing + prefix |
+1 (555) 123-4567 | ✗ | Contains spaces/parentheses |
+1-555-123-4567 | ✗ | Contains dashes |
Fix: Always include + and remove all formatting characters.
Use the country code with + prefix:
| Country | Code | Example |
|---|
| US/Canada | +1 | +15551234567 |
| UK | +44 | +442071234567 |
| Germany | +49 | +49301234567 |
| Australia | +61 | +61212345678 |
| France | +33 | +33123456789 |
Yes. Use the contact ID:
consuelo calls start contact_abc123
The CLI looks up the phone number automatically.
Commands
”Not implemented” error
Some commands return 501 Not Implemented because the feature is still in development. Check the phase roadmap for implementation status:
| Feature | Status |
|---|
| Basic calling | ✓ Implemented |
| Transfers | ✓ Implemented |
| Queue management | ✓ Implemented |
| Contacts API | Phase 4 (in progress) |
| History & Analytics | Phase 5 (in progress) |
| Knowledge Base | Phase 6 (in progress) |
The CLI is under active development. Features are released as phases are
completed.
How do I see all available commands?
consuelo --help
consuelo contacts --help
consuelo calls --help
Can I run commands non-interactively?
Yes, use --yes for defaults:
consuelo init --managed --yes
Or use JSON output for scripting:
consuelo contacts list --json | jq '.[] | .id'
Configuration
Where is config stored?
| Scope | Path |
|---|
| Global | ~/.consuelo/config.json |
| Project | ./consuelo.config.json |
Can I have multiple configurations?
Yes, use project configs:
cd project-a
consuelo config set workspaceId workspace-a
cd ../project-b
consuelo config set workspaceId workspace-b --scope project
How do I show sensitive values?
consuelo config get twilio.authToken --show-sensitive
Be careful showing sensitive values in shared terminals or screen shares.
Authentication
Which auth method should I use?
| Method | Use When |
|---|
OAuth (auth:login) | Regular use, CRM integration |
| API Key | Automation, CI/CD, scripts |
Why does my token expire?
OAuth tokens expire after 24 hours. The CLI auto-refreshes, but if you haven’t used it in weeks, you may need to re-login:
See Troubleshoot Auth for more.
Output
How do I get JSON output?
consuelo contacts list --json
How do I suppress output?
consuelo contacts delete contact_123 --quiet
Can I customize table columns?
Currently, table output uses default columns. Use --json and jq for custom formatting:
consuelo contacts list --json | jq -r '.[] | [.name, .phone] | @tsv'
Errors
”Rate limited” error
The API has rate limits. Wait a moment and retry:
# Wait 60 seconds, then retry
sleep 60 && consuelo contacts list
“Network error” / “Connection refused”
- Check internet connection
- Verify API URL:
consuelo config get apiUrl
- Try with verbose output:
consuelo contacts list --verbose
“Permission denied”
You may not have access to the workspace or feature. Check:
Verify the correct workspace is set.
Deployment
Deploy fails with “Build error”
- Check build logs:
- Ensure dependencies install locally:
- Verify Node version matches deployment target
”Database migration failed”
- Check migration status:
- Run migrations manually:
- Rollback if needed:
consuelo migrate down --steps 1
Worker not processing jobs
- Verify worker is running:
railway logs --service worker
- Check Redis connection:
- Verify environment variables are set
CLI is slow on first run
First run loads dependencies. Subsequent runs are faster. If persistent:
# Check config validation
consuelo config validate
# Check network latency
ping consuelo.consuelohq.com
Import is slow for large CSVs
For 1000+ contacts:
- Use
--quiet to reduce output
- Split into smaller files
- Import during off-peak hours
Getting Help
Where can I get support?
- Check this FAQ and other docs
- Run with
--verbose for details
- Check logs at
~/.consuelo/debug.log
- Contact support with error details
How do I report a bug?
Include:
- CLI version:
consuelo --version
- Command that failed
- Error message
- Steps to reproduce
- Config (redact sensitive values)
Join the Consuelo community:
Next Steps