Merge 5c41dc3901519200f18cdc33fc1c5dae84d725c6 into 74a3c55623e1885da1e69f81844a619e052b9410
This commit is contained in:
commit
c7529baac9
@ -161,12 +161,14 @@ to the `pyenv` command-line utility.
|
|||||||
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
|
$ echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bash_profile
|
||||||
|
|
||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
|
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
|
||||||
3. Add pyenv init to your shell to enable shims and autocompletion.
|
3. Add pyenv init to your shell to enable shims and autocompletion.
|
||||||
|
|
||||||
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
|
$ echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
|
||||||
|
|
||||||
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
**Zsh note**: Modify your `~/.zshenv` file instead of `~/.bash_profile`.
|
||||||
|
**Ubuntu note**: Modify your `~/.bashrc` file instead of `~/.bash_profile`.
|
||||||
|
|
||||||
4. Restart your shell so the path changes take effect. You can now
|
4. Restart your shell so the path changes take effect. You can now
|
||||||
begin using pyenv.
|
begin using pyenv.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user