Building From Source
Rysh is just Go. Clone it, make build, and run your own binary.
What you'll see
git clone https://github.com/rysh-works/rysh && cd rysh.make build-- the Go toolchain produces the local./ryshbinary.make install-- copies it into~/.local/bin.- Add
~/.local/binto yourPATHif needed. - Confirm with
rysh --version.
Commands shown
# git clone https://github.com/rysh-works/rysh && cd rysh
# make build
# ./rysh --version
# make install
# export PATH=$HOME/.local/bin:$PATH
rysh --version
Keys used
Enter
Transcript
0:00Rysh is written in Go, so building from source takes just a few commands.
0:04Start by cloning the repository and stepping in.
0:12Run make build. The Go toolchain compiles a local rysh binary right here.
0:20make install copies it into ~/.local/bin so you can run rysh from anywhere.
0:28If needed, add ~/.local/bin to your PATH.
0:36Confirm with rysh --version and you're building from your own source.
Key takeaway
Building Rysh from source is a three-step Go build -- clone, make build, make install.