Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattberther/zsh-nodenv
zsh plugin for installing, updating and loading nodenv
https://github.com/mattberther/zsh-nodenv
Last synced: about 1 month ago
JSON representation
zsh plugin for installing, updating and loading nodenv
- Host: GitHub
- URL: https://github.com/mattberther/zsh-nodenv
- Owner: mattberther
- License: mit
- Created: 2019-01-31T21:40:50.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-31T00:17:31.000Z (about 3 years ago)
- Last Synced: 2024-04-13T06:38:07.114Z (about 1 month ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - nodenv (mattberther) - Installs, updates and loads `nodenv`. Inspired by [zsh-rbenv](https://github.com/Meroje/zsh-rbenv). (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - nodenv (mattberther) - Installs, updates and loads `nodenv`. Inspired by <b><code> 2⭐</code></b> <b><code> 0🍴</code></b> [zsh-rbenv](https://github.com/Meroje/zsh-rbenv)). (Plugins / ZSH on Windows)
- awesome-zsh-plugins - nodenv (mattberther) - Installs, updates and loads `nodenv`. Inspired by zsh-rbenv. (Plugins / ZSH on Windows)
README
# zsh-nodenv
> zsh plugin for installing, updating, and loading `nodenv`
> Inspired by [zsh-rbenv](https://github.com/cswl/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](https://github.com/zsh-users/antigen)
Bundle `zsh-nodenv` in your `.zshrc````
antigen bundle mattberther/zsh-nodenv
```### Using [zplug](https://github.com/b4b4r07/zplug)
Load `zsh-nodenv` as a plugin in your `.zshrc````
zplug "mattberther/zsh-nodenv"
```### Using [zgen](https://github.com/tarjoilija/zgen)
Include the load command in your `.zshrc````
zgen load mattberther/zsh-nodenv
```### As an [Oh My ZSH!](https://github.com/robbyrussell/oh-my-zsh) custom plugin
Clone `zsh-nodenv` into your custom plugins repo and load as a plugin in your `.zshrc````shell
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````shell
git clone https://github.com/mattberther/zsh-nodenv ~/.zsh-nodenv
``````
source ~/.zsh-nodenv/zsh-nodenv.plugin.zsh
```### License
MIT