Mix deps.get and deps.update

What is the main difference between mix deps.get and deps.update commands? From the docs i understood that both update and compile your deps. But when to use one or another?

1 Like

deps.get will go retrieve the exact version in your mix.lock file. deps.update will bump the version in your mix.lock file up to whatever limit you’ve specified in your mix.exs file.