crysh
Version, currently master branch1 version
- master branchlatestJan 17, 2021
github.com/srcrip/crysh
The Linux shell made in Crystal.
Installation
# Add this to your shard.yml
dependencies:
crysh:
github: srcrip/crysh
branch: mastermaster is a branch, not a release, so this tracks it rather than pinning a version.
Then run:
shards installshard.yml
- Crystal
0.34.0- License
- MIT
- Author
- sevensidedmarble
- Target
cryshfrom src/crysh.cr
Dependencies
Runtime Dependencies
README
A Linux shell written in Crystal.
Installation
Crysh needs to be built from source for now. To do that, you must install Crystal.
-
Clone this repo:
git clone https://github.com/Sevensidedmarble/crysh.git && cd crysh -
Install dependencies: run:
shards install(shardsmight be a seperate package in your package manager. Make sure you have it. You could trycrystal deps installas well.) -
Build:
crystal build src/crysh.cr --release. -
You can run crysh right from this directory with
./crysh -
You can now symlink to your bin folder (make sure /usr/local/bin is on your path, or use /usr/bin):
-
In bash/zsh:
sudo ln -sf $(pwd)/crysh /usr/local/bin/crysh -
In fish:
sudo ln -sf (pwd)/crysh /usr/local/bin/crysh
Usage
Follow the instructions above. Crysh can be used like any other unix shell. It does not aim to be 100% POSIX complete, but it should be as POSIX complete as fish when 1.0 is released.
Development
I've collected some very helpful resources about programming shells in the wiki, available here.
Contributing
- Fork it ( https://github.com/Sevensidedmarble/crysh/fork )
- Open a PR
- Profit
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This branch
- Branch
master- Seen
- Jan 17, 2021
- Crystal
0.34.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/srcrip/crysh
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 1