100% Free & Open Source
JK

THE MODERN
JENKINS CLI.

Automate, monitor, and debug Jenkins in milliseconds. A brutalist, ultra-fast Go binary built to replace sluggish web interfaces and heavy JVM tools.

0ms Latency
Single Binary
Native Toasts
0 Dependencies
~5ms Cold Start
3 Formats
4 Shells
jk@interactive: ~
// Simulating command execution...

Build Succeeded

Job deploy-prod #42 completed in 1m 20s.

jk job list jk job build my-app --param version=2.1.0 --notify jk pipeline stages my-pipeline 123 jk build logs my-app --open jk job create api --scm https://github.com/org/api --branch main jk job config export backend --output backup.xml jk build stop my-app 99 --force jk job list --output json | jq '.[] | select(.status=="FAILED")' jk job build deploy --param env=prod --notify --open jk build info my-app 88 jk job list jk job build my-app --param version=2.1.0 --notify jk pipeline stages my-pipeline 123 jk build logs my-app --open jk job create api --scm https://github.com/org/api --branch main jk job config export backend --output backup.xml jk build stop my-app 99 --force jk job list --output json | jq '.[] | select(.status=="FAILED")' jk job build deploy --param env=prod --notify --open jk build info my-app 88
Complete Command Surface

Everything you need.
Nothing you don't.

JK covers the entire lifecycle of Jenkins jobs, builds, credentials, and pipeline status. Designed with consistent flags and extreme attention to detail.

01 · Jobs

Full Job Lifecycle

List, inspect, create, copy, rename, enable, disable, and delete. Complete control without clicking a single button in the UI.

$ jk job create api --scm <url>
$ jk job copy staging prod
$ jk job delete old-job --force
02 · Builds

Build Management

Trigger builds with live parameters, inspect detailed status, stream live logs, and cancel running builds directly.

$ jk build list my-app --limit 50
$ jk build info my-app 123
$ jk build stop my-app 77 --force
03 · Pipelines

Stage Visibility

View comprehensive stage structures, duration, and status metrics per build without hunting through pages of logs.

$ jk pipeline list
$ jk pipeline stages my-app
$ jk pipeline stages my-app 123
04 · Config

XML & SCM Configs

Instantly export configurations to local files, tweak them, and import them back.

$ jk job config export app
$ jk job jenkinsfile app -o Jenkinsfile
05 · Output

3 Formats

Predictable schema structures ideal for programmatic piping.

3 Outputs
Table JSON YAML
06 · Flags

Power Flags

Global compositions that extend ergonomics across CLI tools.

--notify // toast notification
--open // open in browser
--force // skip confirm dials
--limit // page parameters
07 · Auth

Secure Session

Credential store leveraging `0600` local system permissions.

$ jk auth login
$ jk auth status
08 · Live Job Status

Status Grid Summary

Retrieve cluster builds, execution durations, and statuses globally.

NAME STATUS BUILD DURATION
api-gateway SUCCESS #89 1m 22s
frontend-deploy RUNNING #124
db-migrate SUCCESS #45 0m 48s
deploy-prod FAILED #63 2m 01s
09 · Shell Completion

Live Autocompletes

Complete job keys dynamically from your shell (Zsh, Bash, Fish, or PowerShell).

$ ./setup-completion.sh
✓ Completion configured for zsh
$ jk build logs my-ap| [TAB]
my-app-frontend  my-app-backend  my-app-tests
Core Engine

Blazing Fast CLI Commands

Interact with Jenkins without breaking your flow. Manage jobs, trigger builds, and view parameters natively. JK supports standard bash/zsh/fish shell completions, meaning you can hit <TAB> to auto-complete job names directly from the API.

  • jk job list
  • jk job info api-service
  • jk job build deploy-prod --param env=staging
  • jk build logs api-service 42
$ jk job info deploy-app
Fetching metadata...
Job: deploy-app
Status: SUCCESS
Parameters:
version (String)
Tag to deploy
environment (Choice)
[staging, prod]
JK Dashboard Filter: /api
api-service SUCCESS
api-gateway RUNNING
api-docs FAILED
[↑↓] Navigate [Enter] Build [l] Logs
Visual Mode

Interactive TUI Dashboard

Prefer a visual approach? Type jk to launch a Bubble Tea-powered Terminal UI. Navigate your entire Jenkins cluster, monitor nodes, visualize pipeline stages, and stream logs with real-time substring searches—all without your hands leaving the keyboard.

/ to search
Enter to build
l for logs
CI/CD Integration

Scriptable & jq-Friendly

Every command supports --output json and --output yaml. Pipe Jenkins data directly into jq, yq, or your shell scripts to create profound automations. Batch trigger jobs, monitor failed pipelines, or export configurations effortlessly.

# Find all failed jobs and extract their names

jk job list --output json \
  | jq '.[] | select(.status=="FAILED") | .name'

Automation Superpowers

  • Trigger CI/CD deployments programmatically
  • Cron jobs for monitoring Jenkins health
  • Batch enable/disable multiple jobs at once
  • Extract parameter metadata for testing
Real-world Usage

Drop JK into your existing
automation scripts.

JK is designed to be highly composable. Every command yields clean output formats perfect for piping, conditional checks, and integration with your engineering workflow.

jk-automation.sh CI/CD Deploy
                                
                            
Pipeline Visibility

Know exactly which stage broke your build.

No more clicking into Jenkins' web interface to locate build failures. jk pipeline stages gives you a structured, terminal-native view of every stage's status, duration, and error snippet.

my-pipeline · Build #123 Failed
1 Checkout Success 5s
2 Build Success 1m 30s
3 Test Failed ← 45s
4 Security Scan Skipped
5 Deploy Not Run
Stage 3 failed — 4 test failures
UserService_test.go:147
AuthHandler_test.go:89…

Pinpoint failures instantly

See exactly which stage failed and why, without navigating multiple nested Jenkins build pages. Debug and fix builds in seconds.

Full stage history

View stages for any past build number, not just the currently running or latest one. Map and monitor performance metrics seamlessly.

Works with any pipeline

Supports both Declarative and Scripted Jenkinsfiles, simple sequential pipelines or complex parallel execution patterns.

Script-friendly output

Pipe stage results directly into custom Slack alert templates, Grafana dashboards, or other team reporting tools via --output json.

Competitive Audit

See exactly how JK stacks up against standard Jenkins tooling and other alternatives.

Capability jenkins-cli.jar jenkins-cli (Go) jcli ⚡ JK
Single binary — no runtime required ✗ needs JVM ✓ Yes ✓ Yes ✓ Yes
Parameter inspection (types, defaults) ✗ No ✗ No ✗ No ✓ Yes (unique)
Pipeline stage visibility ✗ No ✗ No ✗ No ✓ Yes (unique)
Desktop notifications on build complete ✗ No ✗ No ✗ No ✓ Yes (unique)
Job creation from SCM / Jenkinsfile ✗ No ✗ No ⚠ partial ✓ Yes
Build info — params, commits, changes ✗ No ✗ No ✗ No ✓ Yes (unique)
Table · JSON · YAML outputs ✗ No ⚠ limited ⚠ limited ✓ All Three
Dynamic tab completion from live API ✗ No ✗ No ⚠ static ✓ Live
Smart connection caching ✗ No ✗ No ✗ No ✓ 5-min cache
Private GitHub / GitLab / GHE support ✗ No ✗ No ⚠ partial ✓ Yes
Interactive terminal UI (TUI) ✗ No ✗ No ✗ No ✓ Yes

Install the Binary

Get the statically compiled executable running locally on your workstation in milliseconds.

~ go install github.com/hariharen9/JK@latest
Step 1 · Install globally

Choose Package Manager

GO
go install github.com/hariharen9/JK@latest
NPM
npm install -g jk-jenkins
PIP (PYTHON)
pip install jk-jenkins
Step 2 · Authenticate

Secure Connection Setup

Interactively configure your Jenkins credentials in seconds. Stores your server configuration securely in a local YAML database.

RUN COMMAND
jk auth login
Step 3 · Start Using

Launch Dashboard or CLI

Start triggering automation pipelines immediately or boot into the high-performance visual terminal dashboard interface.

LAUNCH TERMINAL UI
jk
Bash · Zsh · Fish · PowerShell SSL/TLS on by default 0600 storage No creds in shell history GitHub · GitLab · GHE