mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
1.1 KiB
1.1 KiB
asdf
Adds integration with asdf, the extendable version manager, with support for Ruby, Node.js, Elixir, Erlang and more.
Installation
# 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.
- Enable asdf by adding it to your
pluginsdefinition 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