kerno

Crates.iokerno
lib.rskerno
version1.1.1
created_at2025-08-05 19:53:50.847262+00
updated_at2025-09-13 06:40:41.207248+00
descriptionA simple, cross-platform shell written in Rust
homepagehttps://pjdur.github.io/kerno
repositoryhttps://github.com/Pjdur/kerno
max_upload_size
id1782855
size35,405
Pjdur (Pjdur)

documentation

README

Kerno Shell

Kerno is a minimalist command-line shell written in Rust, focused on speed, simplicity, and portability.

Crates.io Build Status


Features

  • Built-in commands: echo, scanpath, set, get, unset, env, cd, pwd, ls, cat, touch, rm, mkdir, rmdir, date, clear, write, read, exit, help, history
  • Automatically recognizes executables from $PATH
  • Persistent environment variables stored in $HOME/kerno.toml
  • Session history tracking
  • Fully cross-platform
  • Written in pure Rust — no bash dependency

Quick Start

Install via Cargo:

cargo install kerno

Run the shell:

kerno

Configuration

Kerno automatically loads environment variables from:

~/.kerno.toml

To add persistent variables:

set FOO bar

Or edit the TOML file directly:

FOO = "bar"
PATH = "/usr/local/bin"

Examples

echo Hello world
set NAME Kerno
get NAME
scanpath              # List all system executables
cd src
ls

Why Kerno?

Because sometimes you want a shell that is:

  • Lightweight
  • Understandable
  • Hackable
  • Rusty

Author

Created by Pjdur
Licensed under MIT


Contribute

Pull requests welcome! See CONTRIBUTING.md for details.

Commit count: 19

cargo fmt