Skip to content

mattberther/zsh-nodenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

zsh-nodenv

zsh plugin for installing, updating, and loading nodenv Inspired by zsh-rbenv

Usage

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.

Upgrade

If you want to upgrade to the latest nodenv: $ pyenv update

Installation

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.

Manually

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

License

MIT

About

zsh plugin for installing, updating and loading nodenv

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages