Skip to content

Commit 713024e

Browse files
install: update clojure cli details
1 parent 15d9a4c commit 713024e

1 file changed

Lines changed: 17 additions & 4 deletions

File tree

docs/install/clojure-cli.md

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,22 @@
22

33
![Clojure CLI Logo](https://raw.githubusercontent.com/practicalli/graphic-design/live/logos/practicalli-clojure-cli-logo.png){align=right loading=lazy style="height:150px;width:150px"}
44

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.
66

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}
821

922
[: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.
1023

@@ -166,9 +179,9 @@ The `rlwrap` binary is a basic readline tool that provides a history of commands
166179

167180
Pressing the ++arrow-up++ and ++arrow-down++ keys will scroll through the code previously entered in the REPL.
168181

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).
170183

171184
!!! 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`.
173186

174187
Rebel Readline is part of the [Practicalli Clojure CLI config](#practicalli-clojure-cli-config).

0 commit comments

Comments
 (0)