Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
puredanger committed Oct 10, 2023
1 parent 8e31c33 commit f93de25
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/clojure.tools.tools.api.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,17 @@
Also see:
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.
On install, the tool is procured, and persisted with the tool name for later use.
Either :tool or both :lib and :as are required to install a single tool.
If neither is provided, install the newest version of all tools.

If :tool is provided, the latest version of that existing tool is updated.
If :lib and :as are provided, the latest version of that lib will be installed
with that tool name, replacing any existing tool by that name.
If no args are provided, install the newest version of all tools.

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

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

0 comments on commit f93de25

Please sign in to comment.