loksh
loksh: A focused way to run OpenBSD ksh on Linux, with minimal changes from upstream. Ranked #24 of 27 in Command-Line Shells by our editors (6.2/10); pricing: Free plan; best for linux users seeking an OpenBSD ksh port.
At a glance
- Editor score6.2 / 10
- PricingFree plan
- Best forLinux users seeking an OpenBSD ksh port
- Free planYes
- Paid fromNone
- Facts checked28 Sep 2026
Where it wins
- Keeps changes to upstream OpenBSD ksh minimal
- Available through Linux distribution packages
- Can be built from source with Meson and Ninja
Where it doesn't
- Supports Linux, not other platforms
- Intentionally avoids adding features beyond its upstream focus
- Requires source-build users to work with Meson and Ninja
Our verdict on loksh
loksh brings the OpenBSD KornShell (ksh) to Linux. It is for people who want this shell on a Linux system and value a port that stays close to upstream rather than introducing a broader feature set. The project is open source and can be used as a self-hosted command-line shell; its stated scope also makes it relevant to resource-constrained systems. Its appeal is focused: loksh is a Linux port, not a cross-platform shell offering.
Installation has two stated routes. Users can install loksh through Linux distribution packages, including Alpine Linux, or build and install it from source using Meson and Ninja. That gives package-based users a distribution-managed path while leaving source builders a documented toolchain route. The source-build option is a practical fit for users comfortable with that build setup; those who prefer not to build software should look for a suitable distribution package. The published positioning emphasizes installation and portability, not a suite of additional shell features.
The main trade-off is its deliberately narrow scope. Maintainers aim to keep changes to OpenBSD ksh minimal rather than adding features, so loksh makes most sense for Linux users specifically seeking that upstream shell behavior. It is less suited to someone choosing a shell for new features or support across non-Linux systems. There are no commercial plans to weigh against the open-source option: the choice is primarily whether a close Linux port matches the shell and platform you need. If it does, loksh offers package and source installation paths; if not, a shell with a different platform range or feature direction is a better fit.
loksh pricing
loksh fact sheet
| Free plan | Yes |
|---|---|
| Paid from | None |
| Supported platforms | Linux |
| Scripting language | KornShell (ksh) |
| Package manager | Yes |
| Config file support | Not verified |
| Command completion | Not verified |
| Deployment | Self-hosted |
| Platforms | Linux |
| Built for | Solo, Small business, Mid-market, Enterprise (editorial estimate) |
| Pricing | Free plan |
| Website | github.com |
| Facts checked | 28 Sep 2026 |
Alternatives to loksh
- BashA free, open-source shell for interactive command-line work and scripting.9.3
- ZshA free, customizable shell for users who want advanced command-line control.8.8
- FishFish pairs history-based suggestions with rich completion and a browser-based configuration interface.8.7
Used loksh? Be the first to review it
The editor score above is our own research. What this page doesn't have yet is a reader's view — what you used loksh for, what worked and what didn't. No stars are seeded and no review is paid for; an editor reads every one before it appears.
Write a reviewTwo minutes · verified accounts only · read by an editor before it appears
Featured on iTechGuides
loksh is listed in our Command-Line Shells directory. Add the badge to your site — it links back to this page.
<a href="https://www.itechguides.com/products/loksh/"><img src="https://www.itechguides.com/best/badge/loksh.svg" alt="Featured on iTechGuides" width="230" height="46"></a>
Reviewed by iTechGuides Editors · Editorial team · Updated Oct 2026
Advertiser disclosure: iTechGuides is reader-supported. Vendors can pay for top positions in our rankings and for a place on other products' pages, and we may earn a commission when you click some links. How we rank.
Last updated · How we research and update