From 75bca3aae86b39f88010ac0761475c44a36048e1 Mon Sep 17 00:00:00 2001 From: Josh Friend Date: Fri, 1 May 2020 14:02:08 -0400 Subject: [PATCH] Created Alternate Installation Methods (markdown) --- Alternate-Installation-Methods.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Alternate-Installation-Methods.md diff --git a/Alternate-Installation-Methods.md b/Alternate-Installation-Methods.md new file mode 100644 index 0000000..149de97 --- /dev/null +++ b/Alternate-Installation-Methods.md @@ -0,0 +1,27 @@ +**Pyenv maintainers encourage you to install pyenv using either the [GitHub checkout method](https://github.com/pyenv/pyenv#basic-github-checkout) or via [Homebrew](https://github.com/pyenv/pyenv#homebrew-on-macos)** + +However, there are other unofficial ways which you can install pyenv which are listed here. The following methods are not tested, maintained, or supported by the pyenv team: + +### ZPlug plugin manager for Zsh +_suggested by @andypalmer in [#1598](https://github.com/pyenv/pyenv/pull/1598)_ + +Add the following line to your `.zshrc`: + +```zplug "RiverGlide/zsh-pyenv", from:gitlab``` + +Then install the plugin + +~~~ zsh + $ source ~/.zshrc + $ zplug install +~~~ +The ZPlug plugin will install and initialise `pyenv` and add `pyenv` and `pyenv-install` to your `PATH` + +#### Upgrading via ZPlug + +To upgrade to the latest version of pyenv, update the ZPlug plugin: + +```sh +$ zplug update RiverGlide/zsh-pyenv +``` +