Skip to content

Commit f93de25

Browse files
committed
update docs
1 parent 8e31c33 commit f93de25

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

docs/clojure.tools.tools.api.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@
1414
Also see:
1515
clj -X:deps find-versions :lib &lt;lib&gt;</pre></div></div><div class="public anchor" id="var-install-latest"><h3>install-latest</h3><div class="usage"><code>(install-latest args)</code></div><div class="doc"><pre class="plaintext">Install the latest version of a tool under a local tool name for later use.
1616
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.
1922

2023
The latest version is determined by listing the versions in semver order,
2124
filtering out versions with special strings, and choosing the last one.
2225
Special strings that cause a version to be ignored are:
2326
alpha a beta b miletone m rc cr snapshot
27+
Note that for git deps, the newest tagged version will be installed.
2428

2529
It is recommended that Maven tool releases use Maven release version
2630
conventions, and that git tool releases use tags in the format "vA.B.C".

0 commit comments

Comments
 (0)