2020 October 27

I have being having some fun lately with my raspberries, and being setting one of them up to act as a portable mini computer to always have around when needed. To finish the setup, there are some utils I have installed on my cli I can’t live without: navi (a cheatsheet I can feed with commands I use frequently and run parameterized commands) and ripgrep (rg) (used as a pretty fast grep replacement). I keep forgetting the instructions to install rust, so here they are.

  1. Download and install rust curl https://sh.rustup.rs -sSf | bash This automatically put rustc and cargo on the path, but you must login again or restart the machine.
  2. Check your installation is working: rustc --version cargo --version
  3. Install the desired utities: cargo install navi ripgrep