Shell

Meet Shell

A next-generation interactive shell built in Koder Lang that treats data as structured objects instead of plain text. Features intelligent autocompletion, inline syntax highlighting, pipeline type checking, and a modern scripting language that replaces bash, zsh, and fish.

# Structured pipelines — no more text parsing
ls | where size > 1mb | sort modified | first 10

# Type-safe variables and functions
fn deploy(env: string, version: string) {
  let image = `app:${version}`
  docker push $image
  kubectl set image deployment/app app=$image \
    --namespace=$env
}

# Pattern matching on command results
match (git status | .branch) {
  "main" => print("on main branch")
  b => print(`on branch: ${b}`)
}

Features

Everything you need, built from the ground up.

Structured Data Pipelines

Pipe structured objects (tables, records, lists) between commands instead of parsing raw text. Filter, sort, and transform data with type-safe operations.

Intelligent Autocompletion

Context-aware completions for commands, flags, file paths, git branches, environment variables, and even remote hosts — powered by real-time parsing.

Inline Syntax Highlighting

Full syntax highlighting as you type, with error detection for invalid commands, missing files, and incorrect flag usage before you hit Enter.

Modern Scripting Language

First-class functions, pattern matching, error handling with Result types, and async/await — no more cryptic bash syntax or quoting nightmares.

🔒
POSIX Compatible

Run existing shell scripts unmodified. Koder Shell includes a POSIX sh compatibility layer that handles legacy scripts while you gradually migrate.

Cross-Platform

Native support for Linux, macOS, and Windows. Same shell, same scripts, same experience everywhere — no more platform-specific hacks.

Structured Data Operations

Work with data as typed tables and records, not raw text strings.

  • Filter, sort, group, and aggregate with SQL-like syntax
  • Automatic table rendering in the terminal
  • Export to JSON, CSV, TOML, or YAML
# Process JSON API responses naturally
http get "https://api.example.com/users"
  | where role == "admin"
  | select name email last_login
  | sort last_login --desc
  | to csv

# System info as structured data
sys | get cpu | where usage > 80

Modern Error Handling

No more silent failures. Every command returns a typed Result you can inspect.

  • Result types replace exit codes
  • Try/catch blocks for error recovery
  • Detailed error messages with suggestions
# Errors are first-class values
let result = try {
  cp "important.db" "/backup/"
}

match result {
  Ok(f) => print(`Copied ${f.size} bytes`)
  Err(e) => {
    print(`Failed: ${e.message}`)
    notify "Backup failed" --urgency high
  }
}

How It Compares

See how Koder Shell stacks up against the competition.

FeatureKoder Shellzshfishnushell
Structured data pipelines
Inline syntax highlightingPartial
POSIX compatibility
Type-safe scripting
Pattern matchingPartial
Cross-platform native
Intelligent autocompletionPartial
Async/await support

Frequently Asked Questions

Yes. Koder Shell includes a POSIX sh compatibility layer that runs bash and sh scripts unmodified. You can gradually migrate scripts to the modern syntax at your own pace.

Koder Shell shares nushell's philosophy of structured data pipelines but adds POSIX compatibility, async/await, pattern matching, and a richer type system. It's designed as a daily-driver shell, not just a data processing tool.

Koder Shell has its own plugin system, but it includes a zsh compatibility shim for popular plugins like syntax highlighting and autosuggestions. A migration guide is available for converting custom zsh functions.

Koder Shell starts in under 10ms and renders completions in under 5ms. It's compiled with Koder Lang's native backend, so there's no interpreter overhead. Prompt rendering is faster than zsh with Oh My Zsh.

Yes. Koder Shell runs natively on Windows (not through WSL), with full support for Windows paths, PowerShell interop, and CMD compatibility. The same scripts work on Linux, macOS, and Windows.

Ready to get started?

The Shell, Reimagined

Download View Source