Skip to content


Repository files navigation

 _       _        _
| | ___ | | _____| |__
| |/ _ \| |/ / __| '_ \
| | (_) |   <\__ \ | | |
|_|\___/|_|\_\___/_| |_|

Build Status


loksh is a Linux port of OpenBSD's ksh.

Unlike other ports of ksh, loksh targets only one platform, follows upstream closely and keeps changes to a minimum. loksh does not add any extra features; this reduces the risk of introducing security vulnerabilities and makes loksh a good fit for resource-constrained systems.


loksh is included in many distributions:

Packaging status

For example, under Alpine Linux, loksh can be installed using apk add loksh.

Alternatively, to build and install loksh from source:

meson --prefix=/usr build
ninja -C build install

Legal Information

loksh is licensed under the same license as the upstream code it is based on.

The ASCII art logo at the top was made using FIGlet.