Install and use rebel-readline terminal editor for Clojure

At some point there comes a moment when you want to evaluate a code snippet, quickly check something, or maybe just run a fast calculation / simulation in you favourite language1, without having to set up a whole development environment.

What you’d typically do in such a case is fire up a REPL directly in the terminal:

$ ~> clojure
Clojure 1.9.0
user=>

… and hack away. But then lets say you want to do some basic code editing:

user=>(while true#_=> (do :a)^[[D^[[D^[[D

No Sir Ree Bob! You don’t even have basic syntax navigation, let alone fancy capabilities like code completion.
That is why I was very happy when Bruce Hauman (of Figwheel fame) announced he created rebel-readline.
You can think of it as of a full REPL development experience, one command in the terminal away.