Skip to content
Desktop App

Command-Line Interface

Use Kudu from the terminal for automation and scripting. Run scans, cleaning, and maintenance tasks headlessly on Windows, macOS, and Linux.

Kudu includes a full command-line interface for running operations without the graphical UI. This is useful for automation, scripting, and managing headless servers.

Usage

kudu [command] [options]

Available Commands

Cleaning

CommandDescription
scanRun a scan — specify system, browser, app, gaming, or all
cleanScan and clean in one step

Registry

CommandDescription
registry scanScan the registry for issues
registry fixFix all detected registry issues

Startup

CommandDescription
startup listList all startup items
startup disable <name>Disable a startup item
startup enable <name>Enable a startup item
startup boot-traceAnalyze boot time impact of startup items

Security

CommandDescription
malware scanRun malware detection
privacy scanCheck current privacy settings
privacy applyApply privacy-friendly settings

Services

CommandDescription
services scanList services with safety classification
services optimizeDisable all services marked as safe

Updates

CommandDescription
updates checkCheck for available software updates
updates runInstall available updates
drivers scanCheck for stale drivers
drivers updateInstall driver updates

Other

CommandDescription
network cleanClean network caches (DNS, ARP, Wi-Fi, history)
debloat scanScan for bloatware
debloat removeRemove detected bloatware
perf infoShow system information
historyView scan history
helpShow help for all commands

Output Formats

By default, Kudu prints human-readable text output. Add the --json flag to any command to get structured JSON output, which is useful for scripting and piping into other tools.

Exit Codes

CodeMeaning
0Success
1Error occurred

Automation Examples

Kudu's CLI integrates well with system schedulers:

  • Windows Task Scheduler — Create a task that runs kudu clean on a schedule
  • cron (macOS/Linux) — Add a cron job for automated maintenance
  • CI/CD pipelines — Include system checks in your build or deployment workflows
  • Custom scripts — Chain Kudu commands with other tools using --json output