# Install ksh93 with Homebrew, MacPorts, pacman, apt, dnf, Nix, zypper

KornShell, ksh93. Version 1.0.10 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:ksh93
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install ksh93
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install ksh93
```

  Evidence: MacPorts ports tree: shells/ksh93/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- pacman (92%):

```sh
sudo pacman -S ksh
```

  Evidence: Arch Linux sync databases: ksh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- Debian apt (92%):

```sh
sudo apt install ksh
```

  Evidence: Debian stable package indexes: ksh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install ksh
```

  Evidence: Fedora Rawhide package metadata: ksh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#ksh
```

  Evidence: nixpkgs package indexes: pkgs/by-name/ks/ksh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- zypper (92%):

```sh
sudo zypper install ksh
```

  Evidence: openSUSE Tumbleweed package metadata: ksh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## Package facts

- **Package key:** brew:ksh93
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/ksh93>
- **Version:** 1.0.10
- **Source summary:** KornShell, ksh93
- **Homepage:** <https://github.com/ksh93/ksh>
- **Repository:** <https://github.com/ksh93/ksh>
- **Upstream docs:** <https://github.com/ksh93/ksh#readme>
- **License:** EPL-2.0
- **Source archive:** <https://github.com/ksh93/ksh/archive/refs/tags/v1.0.10.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ksh (cli)
- ksh93 (cli)
- rksh (cli)
- rksh93 (cli)
- shcomp (cli)
- ksh (alias)
- ksh93 (alias)
- rksh (alias)
- rksh93 (alias)
- shcomp (alias)

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, monterey, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.0.10
- Local data: ok
- Upstream repository: https://github.com/ksh93/ksh
- Upstream latest detected: v1.0.10 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

KornShell 93 is the KSH-93 line of David Korn's KornShell language, carried forward as a Unix shell, scripting language, and POSIX-oriented command environment. The Homebrew ksh93 package points at the community 93u+m continuation, which is based on AT&T's last stable 93u+ release dated 2012-08-01.

### Project history

The ksh93 README republishes the 1993 AT&T description of KSH-93 as the version of the KornShell language described in The KornShell Command and Programming Language, compatible with Bourne shell scripts and intended to conform to the IEEE POSIX shell and utilities standard. That lineage made ksh93 both a production Unix shell and a language-runtime package with features beyond traditional sh.

The ksh93/ksh project began as a community reboot from AT&T AST sources after an attempted 2017-2020 ksh2020 refactoring effort was abandoned. The maintainers chose the older stable 93u+ code as the base and backported fixes from ksh2020, distribution patches from OpenSUSE, Red Hat, and Solaris, and new community fixes.

### Adoption history

KornShell has long been part of commercial and open Unix culture, especially where POSIX shell compatibility, stronger scripting features, and historical vendor scripts mattered. The 93u+m README notes that Debian and Slackware began packaging 93u+m as their default ksh93 version in late 2021, marking the community fork's transition from preservation project to distro-consumed shell.

### How it is used

Users run ksh93 as an interactive shell, as a /bin/sh-compatible scripting engine, and through related tools such as rksh and shcomp. It matters most where shell-language compatibility, arithmetic and scripting features, or existing ksh scripts are more important than using bash or zsh.

### Why package nerds care

ksh93 is package-nerd significant because it is not just another shell binary: it is a maintained survival path for AT&T AST code, legacy KornShell scripts, POSIX conformance work, and old Unix assumptions that still surface in modern distributions.

### Timeline

- 1993: AT&T described KSH-93 as the KornShell language release aligned with the POSIX shell and utilities standard.
- 2012-08-01: AT&T's stable ksh93u+ release became the base for the later 93u+m community reboot.
- 2017-2020: The ksh2020 refactoring attempt tried to revive the unstable 93v- beta line and was later abandoned.
- Late 2021: Debian and Slackware began packaging ksh 93u+m as their default ksh93 version.

### Related projects

- Related projects and lineages include the Bourne shell, POSIX sh, KSH-88, AT&T AST, ksh2020, bash, and zsh.

### Sources

- <https://github.com/ksh93/ksh>
- <https://github.com/ksh93/ksh/releases>
- <https://www.kornshell.com/>


## Security Notes

generalized runtime or code generation signal.

- **Geiger risk:** yellow / medium
- generalized runtime or code generation signal

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** ksh93
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- pacman - ksh - 2020.0.0-3: normalized package name match | Arch Linux sync databases: ksh from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | The Original AT&T Korn Shell | http://kornshell.org/
- MacPorts - ksh93: normalized package name match | MacPorts ports tree: shells/ksh93/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- MacPorts - ksh: installed executable or alias match | MacPorts ports tree: shells/ksh/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Debian apt - ksh - 20240113-1.0.10-2: installed executable or alias match | Debian stable package indexes: ksh from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package | http://www.kornshell.com/
- Nix - ksh: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/ks/ksh/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ksh - 20240113: installed executable or alias match | Ubuntu 24.04 LTS package indexes: ksh from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | transitional package | http://www.kornshell.com/
- dnf - ksh - 1.0.10-8.fc44: installed executable or alias match | Fedora Rawhide package metadata: ksh from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst | The Original ATT Korn Shell | http://www.kornshell.com/
- zypper - ksh - 93vu-12.4: installed executable or alias match | openSUSE Tumbleweed package metadata: ksh from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Korn Shell | http://www.research.att.com/~gsf/download/
- zypper - ksh-devel - 93vu-12.4: installed executable or alias match | openSUSE Tumbleweed package metadata: ksh-devel from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Korn Shell development environment | http://www.research.att.com/~gsf/download/


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [mksh](https://www.automicvault.com/pkg/brew/mksh/) - Shares av.db curated category or tags: cli, language-runtime, scripting, shell, unix.
- [oils-for-unix](https://www.automicvault.com/pkg/brew/oils-for-unix/) - Shares av.db curated category or tags: cli, language-runtime, shell.
- [ammonite-repl](https://www.automicvault.com/pkg/brew/ammonite-repl/) - Shares av.db curated category or tags: cli, language-runtime, scripting.
- [cpi](https://www.automicvault.com/pkg/brew/cpi/) - Shares av.db curated category or tags: cli, language-runtime, scripting.
- [gauche](https://www.automicvault.com/pkg/brew/gauche/) - Shares av.db curated category or tags: cli, language-runtime, scripting.
- [gnu-apl](https://www.automicvault.com/pkg/brew/gnu-apl/) - Shares av.db curated category or tags: cli, language-runtime, scripting.
- [gnu-smalltalk](https://www.automicvault.com/pkg/brew/gnu-smalltalk/) - Shares av.db curated category or tags: cli, language-runtime, scripting.
- [gosu](https://www.automicvault.com/pkg/brew/gosu/) - Shares av.db curated category or tags: cli, language-runtime, scripting.
- [n](https://www.automicvault.com/pkg/brew/n/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, runtime, shell.
- [plenv](https://www.automicvault.com/pkg/brew/plenv/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, runtime, shell.
- [pyenv](https://www.automicvault.com/pkg/brew/pyenv/) - Local package facts share a topical domain. Shared terms: cli, language, language-runtime, runtime, shell.

## Combined YAML source

View the package source record on GitHub. [combined/ksh93.yml](https://github.com/automic-vault/db/blob/main/combined/ksh93.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
