2015-05-17 18:25:35 -07:00
|
|
|
MANAGE PLUGINS
|
2020-06-16 15:25:04 -07:00
|
|
|
asdf plugin add <name> [<git-url>] Add a plugin from the plugin repo OR,
|
|
|
|
add a Git repo as a plugin by
|
|
|
|
specifying the name and repo url
|
|
|
|
asdf plugin list [--urls] [--refs] List installed plugins. Optionally show
|
|
|
|
git urls and git-ref
|
|
|
|
asdf plugin list all List plugins registered on asdf-plugins
|
|
|
|
repository with URLs
|
|
|
|
asdf plugin remove <name> Remove plugin and package versions
|
2021-03-01 23:37:05 -07:00
|
|
|
asdf plugin update <name> [<git-ref>] Update a plugin to latest commit on
|
|
|
|
default branch or a particular git-ref
|
|
|
|
asdf plugin update --all Update all plugins to latest commit on
|
|
|
|
default branch
|
2015-05-06 06:45:17 -07:00
|
|
|
|
|
|
|
|
|
|
|
MANAGE PACKAGES
|
2020-07-09 19:17:19 -07:00
|
|
|
asdf install Install all the package versions listed
|
2020-08-23 17:55:41 -07:00
|
|
|
in the .tool-versions file
|
2020-07-09 19:46:53 -07:00
|
|
|
asdf install <name> Install one tool at the version
|
2020-07-09 19:17:19 -07:00
|
|
|
specified in the .tool-versions file
|
2020-07-09 19:46:53 -07:00
|
|
|
asdf install <name> <version> Install a specific version of a package
|
2020-06-16 15:25:04 -07:00
|
|
|
asdf install <name> latest[:<version>] Install the latest stable version of a
|
|
|
|
package, or with optional version,
|
|
|
|
install the latest stable version that
|
|
|
|
begins with the given string
|
|
|
|
asdf uninstall <name> <version> Remove a specific version of a package
|
|
|
|
asdf current Display current version set or being
|
|
|
|
used for all packages
|
|
|
|
asdf current <name> Display current version set or being
|
|
|
|
used for package
|
|
|
|
asdf where <name> [<version>] Display install path for an installed
|
|
|
|
or current version
|
|
|
|
asdf which <command> Display the path to an executable
|
|
|
|
asdf local <name> <version> Set the package local version
|
2021-07-07 21:01:38 -07:00
|
|
|
asdf local <name> latest[:<version>] Set the package local version to the
|
|
|
|
latest provided version
|
2020-06-16 15:25:04 -07:00
|
|
|
asdf global <name> <version> Set the package global version
|
2022-01-04 12:09:27 -07:00
|
|
|
asdf global <name> latest[:<version>] Set the package global version to the
|
2021-07-07 21:01:38 -07:00
|
|
|
latest provided version
|
2020-06-16 15:25:04 -07:00
|
|
|
asdf shell <name> <version> Set the package version to
|
|
|
|
`ASDF_${LANG}_VERSION` in the current shell
|
|
|
|
asdf latest <name> [<version>] Show latest stable version of a package
|
2021-12-08 22:49:24 -07:00
|
|
|
asdf latest --all Show latest stable version of all the
|
|
|
|
packages and if they are installed
|
2021-07-07 21:01:38 -07:00
|
|
|
asdf list <name> [version] List installed versions of a package and
|
|
|
|
optionally filter the versions
|
2020-06-16 15:25:04 -07:00
|
|
|
asdf list all <name> [<version>] List all versions of a package and
|
|
|
|
optionally filter the returned versions
|
2020-07-31 01:47:18 -07:00
|
|
|
asdf help <name> [<version>] Output documentation for plugin and tool
|
2015-05-06 06:45:17 -07:00
|
|
|
|
|
|
|
|
|
|
|
UTILS
|
2020-06-16 15:25:04 -07:00
|
|
|
asdf exec <command> [args...] Executes the command shim for current version
|
|
|
|
asdf env <command> [util] Runs util (default: `env`) inside the
|
|
|
|
environment used for command shim execution.
|
2020-08-23 17:55:41 -07:00
|
|
|
asdf info Print OS, Shell and ASDF debug information.
|
2020-06-16 15:25:04 -07:00
|
|
|
asdf reshim <name> <version> Recreate shims for version of a package
|
|
|
|
asdf shim-versions <command> List the plugins and versions that
|
|
|
|
provide a command
|
|
|
|
asdf update Update asdf to the latest stable release
|
|
|
|
asdf update --head Update asdf to the latest on the master branch
|
2020-10-22 17:22:53 -07:00
|
|
|
|
|
|
|
RESOURCES
|
|
|
|
GitHub: https://github.com/asdf-vm/asdf
|
|
|
|
Docs: https://asdf-vm.com
|