zsh plugin for installing, updating, and loading
nodenv
Inspired by zsh-rbenv
Once the plugin is installed, nodenv will be available. You will probably want to load this as one of your first plugins so that python/pip are available for other plugins that require them.
zsh-nodenv also wraps pyenv in some additional functionality.
If you want to upgrade to the latest nodenv: $ pyenv update
Using Antigen
Bundle zsh-nodenv
in your .zshrc
antigen bundle mattberther/zsh-nodenv
Using zplug
Load zsh-nodenv
as a plugin in your .zshrc
zplug "mattberther/zsh-nodenv"
Using zgen
Include the load command in your .zshrc
zgen load mattberther/zsh-nodenv
As an Oh My ZSH! custom plugin
Clone zsh-nodenv
into your custom plugins repo and load as a plugin in your .zshrc
git clone https://github.com/mattberther/zsh-nodenv ~/.oh-my-zsh/custom/plugins/zsh-nodenv
plugins+=(zsh-nodenv)
Keep in mind that plugins need to be added before oh-my-zsh.sh
is sourced.
Clone this repository somewhere (~/.zsh-nodenv
for example) and source it in your .zshrc
git clone https://github.com/mattberther/zsh-nodenv ~/.zsh-nodenv
source ~/.zsh-nodenv/zsh-nodenv.plugin.zsh
MIT