Need help with depot?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

236 Stars 17 Forks The Unlicense 200 Commits 5 Opened issues


Find newer versions of your dependencies in your deps.edn file

Services available


Need anything else?

Contributors list

Depot Clojars Project

Warning: I'm not actively maintaining this project, I'm finally releasing

since it's been sitting around for far too long. It contains a bunch of breaking changes that are mentioned in

You may have better luck with liquidz/antq or slipset/deps-ancient. If you'd like to see this project developed and maintained further I'm open to inviting other maintainers or promoting forks. I'm reluctant to transfer ownership and publishing rights to the artifact since that's been used for malicious purposes in recent times.

If this version isn't to your liking you can still rely on

(or earlier) and the legacy documentation in

Find newer versions of your dependencies in your

file using the Clojure CLI. This works for maven and git dependencies.


You can try it out easily with this one liner:

$ clojure -Sdeps '{:deps {olical/depot {:mvn/version "RELEASE"}}}' -M -m depot.outdated.main
Checking for old versions in: deps.edn
  org.clojure/clojure {:mvn/version "1.9.0"} -> {:mvn/version "1.10.1"}

I'd recommend adding depot as an alias in your own

file, this will allow it to check itself for updates:
{:deps {}
 :aliases {:outdated {:replace-deps {olical/depot {:mvn/version "2.3.0"}}
                      :main-opts ["-m" "depot.outdated.main"]}}}
$ clojure -Aoutdated --aliases outdated
Checking for old versions in: deps.edn
  olical/depot {:mvn/version "..."} -> {:mvn/version "..."}

Controlling which files are checked

By default Depot looks for

in the current working directory. You can instead pass one or more filenames in explicitly.
$ clojure -Aoutdated ../my-project/deps.edn

Controlling which part of the file are checked

By default, only dependencies under the top-level

are considered.

To also consider

under aliases, use the
--aliases alias1,alias2
to specify alias, or the
flag to consider all aliases.

To prevent Depot from touching certain parts of your

, mark them with the
{:deps {...}

:aliases {;; used for testing against older versions of Clojure :clojure-1.8 ^:depot/ignore {:extra-deps {org.clojure/clojure {:mvn/version "1.8.0"}}} :clojure-1.9 ^:depot/ignore {:extra-deps {org.clojure/clojure {:mvn/version "1.9.0"}}}}}

The metadata can be placed on the artifact name, the coord map or on any map containing the dependency in question.


By default, depot only prints the new versions. To update the file in place, include the

flag. This will leave any formatting, whitespace, and comments intact.
$ clojure -Aoutdated --write
Updating old versions in: deps.edn
  rewrite-clj {:mvn/version "0.6.0"} -> {:mvn/version "0.6.1"}
  cider/cider-nrepl {:mvn/version "0.17.0"} -> {:mvn/version "0.18.0"}
  clj-time {:mvn/version "0.14.4"} -> {:mvn/version "0.15.1"}
  olical/cljs-test-runner {:sha "5a18d41648d5c3a64632b5fec07734d32cca7671"} -> {:sha "da9710b389782d4637ef114176f6e741225e16f0"}

Freezing snapshots

Maven has a concept called "virtual" versions, these are similar to Git branches, they are pointers to another version, and the version they point to can change over time. The best known example are snapshot releases. When your

refers to a version
, the version that actually gets installed will look like

A maintainer can publish as many snapshots as they like, all with the same version string. This means that re-running the same code twice might yield different results, if in the meanwhile a new snapshot was released. So installing

again later on may install a completely different version.

For the sake of stability and reproducibility it may be desirable to "lock" this version. This is what the

flag is for. The
flag will resolve the virtual version to the current timestamped version that the SNAPSHOT is an alias of, so that your code is once again deterministic.


will also handle the special version strings
% clojure -Aoutdated --resolve-virtual
Checking virtual versions in: deps.edn
   cider/piggieback {:mvn/version "0.4.1-SNAPSHOT"} -> {:mvn/version "0.4.1-20190222.154954-1"}

Existing work

This project is inspired by lein-ancient, it relies on version-clj (by the same author, xsc) for parsing and comparison of version numbers.


  • @Olical - Initial work and general maintenance.
  • @daaku - Ensuring
    is adhered to in the non-mutating mode.
  • @kennyjwilli - Git dependency support and table improvements.
  • @lverns - Reducing the runtime significantly by making multiple requests in parallel.
  • @plexus - Both the
    systems, so many improvements!
  • @robert-stuttaford - Presenting results in a neat table.
  • @seancorfield - Support for
  • @dharrigan - Bump dependencies, fixing warnings.
  • @dotemacs - Updating dependencies, supporting newer
  • @timothypratley - Adding


Find the full unlicense in the

file, but here's a snippet.

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or distribute this software, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.

Do what you want. Learn as much as you can. Unlicense more software.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.