Prerequisites
- Node.js 22 or higher
- npm
- A Codika API key (obtain from the Codika dashboard under Organization Settings > API Keys)
Step 1: Install the CLI
Step 2: Authenticate
~/.config/codika-helper/config.json.
For non-interactive environments:
Step 3: Scaffold a use case
Step 4: Validate
--fix to auto-fix what it can:
Step 5: Deploy
- Reads
version.json(1.0.0) - Bumps to 1.0.1 (patch by default)
- Packages all workflow files
- Sends to the Codika platform API
- On success: updates
version.json, archives deployment locally, savesdevProcessInstanceIdtoproject.json
Step 6: Trigger a workflow
--poll flag waits for execution to complete (default timeout: 120 seconds) and prints the result.
Step 7: Check execution details
If you need to debug:--deep flag fetches sub-workflow executions recursively. The --slim flag strips noise for readability.