ibmi CLI running and connected to your IBM i system.
Prerequisites
- Node.js 18+ installed on your development machine
- Mapepire running on your IBM i system (Setup Guide)
- IBM i hostname, username, and password
Step 1: Install
- NPM Package (Recommended)
- Build from Source
Step 2: Configure a System
You have two options for connecting to your IBM i system:- Option A: Named System (Recommended)
- Option B: Environment Variables (Zero Config)
Create a named system connection stored in You’ll be prompted for a password interactively (hidden input). Or pass it via environment variable:Test the connection:
.ibmi/config.yaml:Step 3: Run Your First Query
Step 4: Explore
Try these commands to explore your IBM i system:Next Steps
Command Reference
Full reference for all commands, options, and examples
Configuration
Multi-system config, output format defaults, and YAML tool paths
Output Formats
Table, JSON, CSV, markdown, and NDJSON streaming
YAML Tools
Run YAML-defined SQL tools from the command line