mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-14 20:39:55 -05:00
parent
199e598351
commit
8b18b962a3
1 changed files with 14 additions and 6 deletions
20
README.md
20
README.md
|
@ -163,9 +163,13 @@ If you're on macOS, we recommend installing rbenv with
|
||||||
Note that this also installs `ruby-build`, so you'll be ready to
|
Note that this also installs `ruby-build`, so you'll be ready to
|
||||||
install other Ruby versions out of the box.
|
install other Ruby versions out of the box.
|
||||||
|
|
||||||
2. Run `rbenv init` and follow the instructions to set up
|
2. Set up rbenv in your shell.
|
||||||
rbenv integration with your shell. This is the step that will make
|
|
||||||
running `ruby` "see" the Ruby version that you choose with rbenv.
|
~~~ sh
|
||||||
|
$ rbenv init
|
||||||
|
~~~
|
||||||
|
|
||||||
|
Follow the printed instructions to [set up rbenv shell integration](#how-rbenv-hooks-into-your-shell).
|
||||||
|
|
||||||
3. Close your Terminal window and open a new one so your changes take
|
3. Close your Terminal window and open a new one so your changes take
|
||||||
effect.
|
effect.
|
||||||
|
@ -245,9 +249,13 @@ a systemwide install.
|
||||||
$ set -Ux fish_user_paths $HOME/.rbenv/bin $fish_user_paths
|
$ set -Ux fish_user_paths $HOME/.rbenv/bin $fish_user_paths
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
3. Run `~/.rbenv/bin/rbenv init` and follow the instructions to set up
|
3. Set up rbenv in your shell.
|
||||||
rbenv integration with your shell. This is the step that will make
|
|
||||||
running `ruby` "see" the Ruby version that you choose with rbenv.
|
~~~ sh
|
||||||
|
$ ~/.rbenv/bin/rbenv init
|
||||||
|
~~~
|
||||||
|
|
||||||
|
Follow the printed instructions to [set up rbenv shell integration](#how-rbenv-hooks-into-your-shell).
|
||||||
|
|
||||||
4. Restart your shell so that PATH changes take effect. (Opening a new
|
4. Restart your shell so that PATH changes take effect. (Opening a new
|
||||||
terminal tab will usually do it.)
|
terminal tab will usually do it.)
|
||||||
|
|
Loading…
Reference in a new issue