You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/clojure.tools.tools.api.html
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,13 +14,17 @@
14
14
Also see:
15
15
clj -X:deps find-versions :lib <lib></pre></div></div><divclass="public anchor" id="var-install-latest"><h3>install-latest</h3><divclass="usage"><code>(install-latest args)</code></div><divclass="doc"><preclass="plaintext">Install the latest version of a tool under a local tool name for later use.
16
16
On install, the tool is procured, and persisted with the tool name for later use.
17
-
Either :tool or both :lib and :as are required to install a single tool.
18
-
If neither is provided, install the newest version of all tools.
17
+
18
+
If :tool is provided, the latest version of that existing tool is updated.
19
+
If :lib and :as are provided, the latest version of that lib will be installed
20
+
with that tool name, replacing any existing tool by that name.
21
+
If no args are provided, install the newest version of all tools.
19
22
20
23
The latest version is determined by listing the versions in semver order,
21
24
filtering out versions with special strings, and choosing the last one.
22
25
Special strings that cause a version to be ignored are:
23
26
alpha a beta b miletone m rc cr snapshot
27
+
Note that for git deps, the newest tagged version will be installed.
24
28
25
29
It is recommended that Maven tool releases use Maven release version
26
30
conventions, and that git tool releases use tags in the format "vA.B.C".
0 commit comments