Skip to content

Crush is a command line shell that is also a powerful modern programming language.

License

Notifications You must be signed in to change notification settings

liljencrantz/crush

Repository files navigation

Crush

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.

Building and installing Crush

OS X dependencies

  • Install Brew.
  • Install openssl brew install openssl
  • Install protobuf brew install protobuf
  • Install git xcode-select --install

Ubuntu dependencies

  • Update apt index apt update
  • Install dependencies apt install build-essential git curl pkg-config libssl-dev libdbus-1-dev libsystemd-dev

Install Rust

Install Rust

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Add it to your path

PATH=$PATH:$HOME/.cargo/bin

Compile and install crush

clone this repository,

git clone https://github.com/liljencrantz/crush.git

and run

cd crush && cargo build --release && 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!

About

Crush is a command line shell that is also a powerful modern programming language.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages