ohmyzsh/plugins/asdf
2025-03-22 18:41:24 +00:00
..
asdf.plugin.zsh fix asdf completion && clean up old completion code 2025-03-22 18:24:12 +00:00
README.md docs: update readme 2025-03-22 18:41:24 +00:00

asdf

Adds integration with asdf, the extendable version manager, with support for Ruby, Node.js, Elixir, Erlang and more.

Installation

  1. Download asdf:
# For macos via homebrew
brew install asdf

For OS's where asdf isn't directly available to download via the package manager, follow this section.

  1. Enable asdf by adding it to your plugins definition in ~/.zshrc.
plugins=(asdf)

Usage

See the asdf plugin documentation for information on how to use asdf:

asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
asdf install nodejs latest

# Set the latest version
asdf set nodejs latest

# Set globally to a pinned version 
asdf set -u nodejs 16.5.0

Maintainer