All apps/asdf

asdf

asdf

asdf is a CLI tool that can manage multiple language runtime versions on a per-project basis.

Runs as asdf|macOS, Linux, Windows|asdf-vm.com

Command form

ai-draft · 6 tasks · 9 fields

Manage plugins and tool versions. Choose a subcommand; uninstall, shim and env commands are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui asdf

asdf install

Install a version

Install a plugin's version, or everything in .tool-versions when both are left empty.

Install a versionExample values, fixed in this page — nothing here reaches a terminal
Basic
Plugin name*
string
Version*
string
TasksEach one presets the form for one job
Install a version
nameversion
Install all from .tool-versions
ParametersOnly these flags are editable in the form
Plugin name
string · positional 0
Version
string · positional 1
latest

asdf plugin-add

Add a plugin

Add a plugin from the plugin repository, or from a Git URL.

Add a pluginExample values, fixed in this page — nothing here reaches a terminal
Basic
Plugin name*
string
Git URL
url
TasksEach one presets the form for one job
Add plugin
namegit_url
ParametersOnly these flags are editable in the form
Plugin name
string · positional 0
Git URL
Optional. Omit to use the registered plugin repository.
url · positional 1

asdf local

Set local version

Write a version to .tool-versions in the current directory.

Set local versionExample values, fixed in this page — nothing here reaches a terminal
Basic
Plugin name*
string
Version*
string
TasksEach one presets the form for one job
Set local version
nameversion
ParametersOnly these flags are editable in the form
Plugin name
string · positional 0
Version
string · positional 1

asdf global

Set global version

Write a version to the home-directory .tool-versions.

Set global versionExample values, fixed in this page — nothing here reaches a terminal
Basic
Plugin name*
string
Version*
string
TasksEach one presets the form for one job
Set global version
nameversion
ParametersOnly these flags are editable in the form
Plugin name
string · positional 0
Version
string · positional 1

asdf list

List installed versions

List installed versions of a plugin.

List installed versionsExample values, fixed in this page — nothing here reaches a terminal
Basic
Plugin name*
string
TasksEach one presets the form for one job
List versions
name
ParametersOnly these flags are editable in the form
Plugin name
string · positional 0
SourcesEvery flag above is checked against these
fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

fig
completion

github.com

Before it fills your prompt, Otty checks the installed asdf against its version. A form that does not match your version is not offered.