Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

crush

> 编程语言
Open source

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

1.9K stars0 likes1 views
WebsiteGitHub

About

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

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.

  • The overview is a narrative tour of the features of Crush.
  • The language reference documents the syntax and core language features (error handling, background jobs, warnings, pattern matching, and more) in depth.
  • The configuration documentation describes how to configure Crush.
  • The builtin reference is a searchable page documenting every builtin command and namespace, generated directly from the running binary. (Rendered from docs/builtins.html, which GitHub shows as raw source rather than rendering.)

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 sudo apt update
  • Install dependencies sudo apt install build-essential git curl pkg-config libssl-dev libdbus-1-dev libsystemd-dev protobuf-compiler-grpc

Install Rust

Install Rust

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

The installer adds ~/.cargo/bin to your path in new shells. To use it in the shell you installed it from, run

. "$HOME/.cargo/env"

Compile and install crush

clone this repository,

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

and run

bash
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!

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言