|
2 | 2 |
|
3 | 3 | {align=right loading=lazy style="height:150px;width:150px"} |
4 | 4 |
|
5 | | -Install the Clojure CLI which provides the essential tools for Clojure development. |
| 5 | +Clojure CLI is a command line tool for running a Clojure REPL, project or tool. |
6 | 6 |
|
7 | | -The Clojure CLI automatically downloads all library dependencies, including the Clojure Standard library. As Clojure itself is packages as a library (`.jar` Java ARchive), any version of Clojure can be used with a project. |
| 7 | +Clojure CLI automatically downloads required library dependencies, including the Clojure Standard library. |
| 8 | + |
| 9 | +??? INFO "Clojure distributed as a library" |
| 10 | + Clojure is distributed as a library (`.jar` Java ARchive) via Maven Central. |
| 11 | + |
| 12 | + A `deps.edn` file specifies the version of Clojure to be used with a project. |
| 13 | + |
| 14 | + ```clojure |
| 15 | + :deps {org.clojure/clojure {:mvn/version "1.12.0"}} |
| 16 | + ``` |
| 17 | + |
| 18 | + The Clojure CLI tool provides a default Clojure library version if not specified in the project or user `deps.edn` files. |
| 19 | + |
| 20 | + [Clojure releases](https://clojure.org/releases/downloads){target=_blank .md-button} |
8 | 21 |
|
9 | 22 | [:fontawesome-solid-book-open: Practicalli Clojure CLI Config](#practicalli-clojure-cli-config) extends the Clojure CLI with a range of development tools as well as configuration for Clojure LSP and cljstyle code format tool. |
10 | 23 |
|
@@ -166,9 +179,9 @@ The `rlwrap` binary is a basic readline tool that provides a history of commands |
166 | 179 |
|
167 | 180 | Pressing the ++arrow-up++ and ++arrow-down++ keys will scroll through the code previously entered in the REPL. |
168 | 181 |
|
169 | | -`rlwrap` is available with most Linux systems. Look for install instructions by searching for rlwrap in a web browser or build from source from the [rlwrap GitHub repository](https://github.com/hanslub42/rlwrap). |
| 182 | +`rlwrap` is available with most Linux systems. Look for install instructions by searching for rlwrap in a web browser or build from source from the [:globe_with_meridians: rlwrap GitHub repository](https://github.com/hanslub42/rlwrap). |
170 | 183 |
|
171 | 184 | !!! HINT "Use Rebel Readline for a rich terminal UI experience" |
172 | | - [rebel readline](/clojure/clojure-cli/repl/) provides a auto-completion, documentation, signature help and multi-line editing all within a terminal UI, providing a much richer experience than the `clj` wrapper and `rlwrap`. |
| 185 | + [:fontawesome-solid-book-open: rebel readline](/clojure/clojure-cli/repl/) provides a auto-completion, documentation, signature help and multi-line editing all within a terminal UI, providing a much richer experience than the `clj` wrapper and `rlwrap`. |
173 | 186 |
|
174 | 187 | Rebel Readline is part of the [Practicalli Clojure CLI config](#practicalli-clojure-cli-config). |
0 commit comments