Skip to content
Search

Brush

lastmod 2025-08-22created 2025-08-221 edits

A POSIX/Bash-compatible shell implemented in Rust

About

  • B(o)rn(e) RUsty SHell - a POSIX- and Bash-compatible shell written in Rust, safer and more maintainable than the C-based Bash
  • Runs on Linux, macOS, and WSL; Windows support is experimental
  • Can run most sh/bash scripts and is usable for everyday interactive use
  • Processes .bashrc as is; use ~/.brushrc if you want to keep them separate
  • Can directly use crates from the Rust ecosystem (tokio, clap, fancy-regex, criterion.rs, etc.) → implements complex features reliably
    • Asynchronous processing, profiling, and benchmarking are possible → expected efficiency when running large-scale scripts
  • Behavior is verified against existing shells such as Bash with more than 675 test cases → ensures highly reliable compatibility
  • Easy to install and manage thanks to support for various distribution channels such as Cargo, Nix, Homebrew, and the Arch repositories
  • MIT license

See also

Favorite site

author Zer0 sitemap