mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Add upgrade instructions
This commit is contained in:
parent
72b62e13aa
commit
26a08c6d12
1 changed files with 22 additions and 0 deletions
|
@ -116,6 +116,28 @@ when installing a gem that provides a binary).
|
||||||
|
|
||||||
$ rbenv rehash
|
$ rbenv rehash
|
||||||
|
|
||||||
|
### Upgrading an existing installation ###
|
||||||
|
|
||||||
|
If you've installed rbenv using the instructions above, you can
|
||||||
|
upgrade your installation at any time using git.
|
||||||
|
|
||||||
|
To upgrade to the latest development version of rbenv, use `git pull`:
|
||||||
|
|
||||||
|
$ cd ~/.rbenv
|
||||||
|
$ git pull
|
||||||
|
|
||||||
|
To upgrade to a specific release of rbenv, check out the corresponding
|
||||||
|
tag:
|
||||||
|
|
||||||
|
$ cd ~/.rbenv
|
||||||
|
$ git fetch
|
||||||
|
$ git tag
|
||||||
|
v0.1.0
|
||||||
|
v0.1.1
|
||||||
|
v0.1.2
|
||||||
|
v0.2.0
|
||||||
|
$ git checkout v0.2.0
|
||||||
|
|
||||||
## Usage ##
|
## Usage ##
|
||||||
|
|
||||||
Like `git`, the `rbenv` command delegates to subcommands based on its
|
Like `git`, the `rbenv` command delegates to subcommands based on its
|
||||||
|
|
Loading…
Reference in a new issue