HomeTutorials › Getting Started
Getting Started

Building From Source

#003 0:16 Part of the Rysh video series

Rysh is just Go. Clone it, make build, and run your own binary.

Building From Source — 0:16 walkthrough

What you'll see

  1. git clone https://github.com/rysh-works/rysh && cd rysh.
  2. make build -- the Go toolchain produces the local ./rysh binary.
  3. make install -- copies it into ~/.local/bin.
  4. Add ~/.local/bin to your PATH if needed.
  5. 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.