Skip to content
/ shell Public
forked from prefix-dev/shell

The ultimate cross-platform, bash-like shell

License

Notifications You must be signed in to change notification settings

kp992/shell

This branch is 6 commits behind prefix-dev/shell:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bc0e112 Β· Mar 3, 2025
Sep 19, 2024
Jan 6, 2025
Sep 20, 2024
Mar 3, 2025
Feb 17, 2025
Aug 1, 2024
Mar 3, 2025
Sep 17, 2024
Sep 7, 2024
Sep 30, 2024
Oct 14, 2024
Sep 6, 2024

Repository files navigation

image

πŸ¦€ shell - fast, cross-platform Bash compatible shell πŸš€

This shell looks and feels like bash, but works natively on Windows (and macOS / Linux)! No emulation needed.

The idea of the shell project is to build a cross-platform shell that looks and feels similar to bash (while not claiming to be 100% bash compatible). The shell allows you to use platform specific native operations (e.g. cd 'C:\Program Files (x86)' on Windows), but it also allows you to use a platform-independent strict subset of bash which enables writing build scripts and instructions that work on all platforms.

The project is written in Rust.

The most common bash commands are implemented and we are linking with the coreutils crate to provide the most important Unix commands in a cross-platform, memory safe way (such as mv, cp, ls, cat, etc.).

This new shell also already has tab completion for files and directories, and history support thanks to rustyline.

The project is still very early alpha stage but can already be used as a daily driver on all platforms.

Screenshots

macOS:

Screen.Recording.2024-09-07.at.07.49.30.mp4

Windows:

Windows

How to run this

To compile and run the project, you need to have Rust & Cargo installed.

# To start an interactive shell
cargo r

# To run a script
cargo r -- ./scripts/hello_world.sh

# To run a script and continue in interactive mode
cargo r -- ./scripts/hello_world.sh --interact

License

The project is licensed under the MIT License. It is an extension of the existing deno_task_shell project (also licensed under the MIT License, by the authors of deno).

About

The ultimate cross-platform, bash-like shell

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 98.2%
  • Shell 1.8%