Skip to content

rawhat/asdf-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

asdf-update

This super simple program will update all installed asdf plugins to their latest version.

It is essentially the same as you running:

asdf current $plugin
asdf latest $plugin
asdf install $plugin $latest
asdf global $plugin $latest
if [ -n "$current" ]; then
  asdf uninstall $plugin $current
fi

but for all of your installed plugins. Probably could/should have done this in bash but it's 2022.

Supported Options

  • -ignore will skip updating the named plugin. It can be repeated to skip multiple plugins
  • -only will update only the named plugin. It can be repeated to update some subset of plugins

Ignore takes precedence, and you can include both of them, technically. ¯_(ツ)_/¯

Examples:

$ asdf-update -ignore bazel -ignore nodejs
Updating ...
Ignoring bazel
Updating ...
$ asdf-update -only golang
Updating golang

About

Update all installed `asdf` plugins

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages