2019-01-12 09:32:30 -07:00
|
|
|
## Manage Plugins
|
|
|
|
|
|
|
|
| Command | Effect |
|
|
|
|
| ------------------------------------ | ------------------------------------------------------------ |
|
2019-11-27 11:24:54 -07:00
|
|
|
| `asdf plugin add <name> [<git-url>]` | Add a plugin from the plugin repo OR, add a Git repo |
|
2019-01-12 09:32:30 -07:00
|
|
|
| | ...as a plugin by specifying the name and repo url |
|
2019-11-27 11:24:54 -07:00
|
|
|
| `asdf plugin list` | List installed plugins |
|
|
|
|
| `asdf plugin list --urls` | List installed plugins with repository URLs |
|
2019-11-27 11:41:14 -07:00
|
|
|
| `asdf plugin list all` | List plugins registered on asdf-plugins repository with URLs |
|
2019-11-27 11:24:54 -07:00
|
|
|
| `asdf plugin remove <name>` | Remove plugin and package versions |
|
|
|
|
| `asdf plugin update <name>` | Update plugin |
|
|
|
|
| `asdf plugin update --all` | Update all plugins |
|
2019-01-12 09:32:30 -07:00
|
|
|
|
|
|
|
## Manage Packages
|
|
|
|
|
2019-11-22 11:37:53 -07:00
|
|
|
| Command | Effect |
|
|
|
|
| ---------------------------------------- | -------------------------------------------------------------------------- |
|
|
|
|
| `asdf install [<name> <version>]` | Install a specific version of a package, or with no arguments, |
|
|
|
|
| | ...install all the package versions listed in the .tool-versions file |
|
|
|
|
| `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 <name>` | Display install path for current version |
|
|
|
|
| `asdf local <name> <version>` | Set the package local version |
|
|
|
|
| `asdf global <name> <version>` | Set the package global version |
|
|
|
|
| `asdf latest <name> [<version>]` | Show latest stable version of a package |
|
|
|
|
| `asdf list <name>` | List installed versions of a package |
|
2019-11-27 11:24:54 -07:00
|
|
|
| `asdf list all <name> [<version>]` | List all versions of a package and optionally filter the returned versions |
|
2019-01-12 09:32:30 -07:00
|
|
|
|
|
|
|
## Utils
|
|
|
|
|
|
|
|
| Command | Effect |
|
|
|
|
| ------------------------------ | ---------------------------------------------- |
|
|
|
|
| `asdf reshim <name> <version>` | Recreate shims for version of a package |
|
|
|
|
| `asdf update` | Update asdf to the latest stable release |
|
|
|
|
| `asdf update --head` | Update asdf to the latest on the master branch |
|