Auth & Account Setup (revx configure)
Install the CLI, generate API keys, and configure write-operation security.
Auto-resolve target. When invoked from another revx-* skill due to an auth error, do not bounce the user back to manual setup. Diagnose the failure against the Error Reference below, run the fix yourself (e.g. chmod 600 ~/.config/revolut-x/private.pem, revx configure generate-keypair, revx configure set --api-key <key>), then return to the calling skill and retry the original command. Only ask the user for inputs that only they can provide: the 64-character API key string, confirmation that they have registered the public key in their Revolut X profile, the keypair passphrase, or approval to overwrite an existing keypair.
Prerequisites
- Node.js >= 20 (check with
node -v)
- npm (comes with Node.js)
Install
npm install -g @revolut/revolut-x-cli && npm link @revolut/revolut-x-cli
After install, revx is available as a global command:
revx --version # Should print the version
Getting Started
Step 1: Configure Authentication
revx configure # Interactive setup wizard
This will:
- Generate an Ed25519 keypair (private + public key)
- Display your public key — copy it
- Prompt you to register the public key at exchange.revolut.com -> Profile -> API Keys
- Create a new API key — tick the "Allow usage via Revolut X MCP and CLI" checkbox
- Prompt for the 64-character API key you receive after registration
Or do it step-by-step:
revx configure generate-keypair # Creates Ed25519 keypair
# Register public key at exchange.revolut.com -> Profile -> API Keys
# Create API key — tick "Allow usage via Revolut X MCP and CLI"
revx configure set --api-key <64-char-key>
Step 2: Verify Configuration
revx configure get # Show config status (keys redacted)
revx configure path # Print config directory path
Config Commands
revx configure # Interactive setup wizard
revx configure get # Show config status (keys redacted)
revx configure set --api-key <key> # Set API key
revx configure generate-keypair # Generate Ed25519 keypair
revx configure path # Print config directory path
Config Location
| Platform |
Path |
| macOS/Linux |
~/.config/revolut-x/ |
| Windows |
%APPDATA%\revolut-x\ |
| Override |
REVOLUTX_CONFIG_DIR env var |
Error Reference
| Error |
Cause |
Fix |
| Auth not configured |
Missing API key or private key |
Run revx configure |
| Authentication failed (401) |
Invalid key or signature |
Re-register public key at exchange.revolut.com |
| Network error |
Connection/timeout failure |
Check connectivity, retry |
Next Steps
Once configured, explore:
- Check your balances, transactions, and order history — see
revx-account skill
- View market prices and candles — see
revx-market skill
- Place your first order — see
revx-trading skill
Related Skills
| Skill |
Purpose |
revx-market |
Currencies, pairs, tickers, candles, order book |
revx-account |
Balances, transaction history, order queries, trade history |
revx-trading |
Place and cancel orders |
revx-monitor |
Live price/indicator alerts |
revx-telegram |
Telegram notification setup |
revx-strategy |
Grid bot backtest, optimize, run |
1---2name: revx-auth3description: Revolut X CLI setup and authentication. Use when the user asks to "install revx", "set up Revolut X", "configure API keys", "generate keypair", "set passkey", "revx configure", or needs help with authentication errors.4---56# Auth & Account Setup (`revx configure`)78> Install the CLI, generate API keys, and configure write-operation security.910> **Auto-resolve target.** When invoked from another `revx-*` skill due to an auth error, do not bounce the user back to manual setup. Diagnose the failure against the [Error Reference](#error-reference) below, run the fix yourself (e.g. `chmod 600 ~/.config/revolut-x/private.pem`, `revx configure generate-keypair`, `revx configure set --api-key <key>`), then return to the calling skill and retry the original command. Only ask the user for inputs that only they can provide: the 64-character API key string, confirmation that they have registered the public key in their Revolut X profile, the keypair passphrase, or approval to overwrite an existing keypair.1112## Prerequisites1314- **Node.js >= 20** (check with `node -v`)15- **npm** (comes with Node.js)1617## Install1819```bash20npm install -g @revolut/revolut-x-cli && npm link @revolut/revolut-x-cli21```2223After install, `revx` is available as a global command:2425```bash26revx --version # Should print the version27```2829---3031## Getting Started3233### Step 1: Configure Authentication3435```bash36revx configure # Interactive setup wizard37```3839This will:401. Generate an Ed25519 keypair (private + public key)412. Display your public key — copy it423. Prompt you to register the public key at **exchange.revolut.com -> Profile -> API Keys**434. Create a new API key — tick the **"Allow usage via Revolut X MCP and CLI"** checkbox445. Prompt for the 64-character API key you receive after registration4546Or do it step-by-step:4748```bash49revx configure generate-keypair # Creates Ed25519 keypair50# Register public key at exchange.revolut.com -> Profile -> API Keys51# Create API key — tick "Allow usage via Revolut X MCP and CLI"52revx configure set --api-key <64-char-key>53```5455### Step 2: Verify Configuration5657```bash58revx configure get # Show config status (keys redacted)59revx configure path # Print config directory path60```6162## Config Commands6364```bash65revx configure # Interactive setup wizard66revx configure get # Show config status (keys redacted)67revx configure set --api-key <key> # Set API key68revx configure generate-keypair # Generate Ed25519 keypair69revx configure path # Print config directory path70```7172## Config Location7374| Platform | Path |75|---|---|76| macOS/Linux | `~/.config/revolut-x/` |77| Windows | `%APPDATA%\revolut-x\` |78| Override | `REVOLUTX_CONFIG_DIR` env var |7980---8182## Error Reference8384| Error | Cause | Fix |85|---|---|---|86| Auth not configured | Missing API key or private key | Run `revx configure` |87| Authentication failed (401) | Invalid key or signature | Re-register public key at exchange.revolut.com |88| Network error | Connection/timeout failure | Check connectivity, retry |8990---9192## Next Steps9394Once configured, explore:95- Check your balances, transactions, and order history — see `revx-account` skill96- View market prices and candles — see `revx-market` skill97- Place your first order — see `revx-trading` skill9899## Related Skills100101| Skill | Purpose |102|---|---|103| `revx-market` | Currencies, pairs, tickers, candles, order book |104| `revx-account` | Balances, transaction history, order queries, trade history |105| `revx-trading` | Place and cancel orders |106| `revx-monitor` | Live price/indicator alerts |107| `revx-telegram` | Telegram notification setup |108| `revx-strategy` | Grid bot backtest, optimize, run |