Installation¶
Install and configure the iflow command-line tool.
Requirements¶
- Python 3.11 or higher
- pip or uv package manager
Install from PyPI¶
Or with uv:
Verify Installation¶
Quick Setup (Recommended)¶
For first-time setup, use the interactive wizard:
This guides you through:
- Environment selection — Choose Production or Staging
- Authentication — Opens browser for OAuth login
- Project selection — Pick your default working project
After setup, verify everything works:
Authentication¶
Interactive Login (Device Flow)¶
This opens your browser for authentication. On headless environments, a clickable URL is displayed.
Login with Personal Access Token¶
For CI/CD or headless environments, use a PAT:
Or set as environment variable:
Check Login Status¶
Output:
Logout¶
Configuration¶
View Current Settings¶
Set API Endpoints¶
For production:
iflow config set api_url https://files.iflow.intelliseq.com
iflow config set compute_url https://compute.iflow.intelliseq.com
For development:
Configuration File¶
Settings are stored in ~/.config/iflow/config.json:
{
"api_url": "https://files.iflow.intelliseq.com",
"compute_url": "https://compute.iflow.intelliseq.com"
}
Environment Variables¶
| Variable | Description | Default |
|---|---|---|
IFLOW_TOKEN |
Personal Access Token for auth | - |
IFLOW_FILE_URL |
File service URL | - |
IFLOW_COMPUTE_URL |
Compute service URL | - |
IFLOW_ADMIN_URL |
Admin service URL | - |
IFLOW_MINER_URL |
Miner service URL | - |
Environment variables override config file settings.
Security Notes¶
Token Storage:
- On desktop systems, tokens are stored in your system's secure keyring (macOS Keychain, GNOME Keyring, Windows Credential Manager)
- On headless servers without a keyring, tokens are stored in
~/.local/share/python_keyring/- ensure this directory has restricted permissions (chmod 700)
Token Authentication:
- Use
--tokenorIFLOW_TOKENfor CI/CD with secrets management - Prefer Device Flow (
iflow login) for interactive use — it doesn't expose credentials
Next Steps¶
- Commands Reference - All available commands
- Running Pipelines - Execute Nextflow workflows