Crush is a command line shell that is also a powerful modern programming language.
Crush is a command line shell that is also a powerful modern programming language.
Crush is an attempt to make a traditional command line shell that is also a modern programming language. It has the features one would expect from a modern programming language like a type system, closures and lexical scoping, but with a syntax geared toward both batch and interactive shell usage.
docs/builtins.html,
which GitHub shows as raw source rather than rendering.)brew install opensslbrew install protobufxcode-select --installsudo apt updatesudo apt install build-essential git curl pkg-config libssl-dev libdbus-1-dev libsystemd-dev protobuf-compiler-grpcInstall Rust
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | shThe installer adds ~/.cargo/bin to your path in new shells. To use it in the
shell you installed it from, run
. "$HOME/.cargo/env"clone this repository,
git clone https://github.com/liljencrantz/crush.gitand run
cd crush && cargo install --path .and you should have a working binary to try out in ~/.cargo/bin.
That directory should already be in your path, so just write crush to run
the shell.
Have fun!
No open issues yet, or sync has not completed.