Skip to content

Commit 53dd8bc

Browse files
authored
Merge pull request #198 from massongit/develop
Fix the installation command of README.md
2 parents a3bc42c + f9b1814 commit 53dd8bc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ and you love it, [pyenv-virtualenvwrapper](https://github.com/yyuu/pyenv-virtual
1717
### Installing as a pyenv plugin
1818

1919
This will install the latest development version of pyenv-virtualenv into
20-
the `~/.pyenv/plugins/pyenv-virtualenv` directory.
20+
the `$(pyenv root)/plugins/pyenv-virtualenv` directory.
2121

2222
**Important note:** If you installed pyenv into a non-standard directory, make
2323
sure that you clone this repo into the 'plugins' directory of wherever you
@@ -31,7 +31,7 @@ From inside that directory you can:
3131
1. **Check out pyenv-virtualenv into plugin directory**
3232

3333
```sh
34-
$ git clone https://github.com/yyuu/pyenv-virtualenv.git ~/.pyenv/plugins/pyenv-virtualenv
34+
$ git clone https://github.com/yyuu/pyenv-virtualenv.git $(pyenv root)/plugins/pyenv-virtualenv
3535
```
3636

3737
2. (OPTIONAL) **Add `pyenv virtualenv-init` to your shell** to enable auto-activation of virtualenvs. This is entirely optional but pretty useful. See "Activate virtualenv" below.
@@ -90,7 +90,7 @@ of the virtualenv directory. For example,
9090
$ pyenv virtualenv 2.7.10 my-virtual-env-2.7.10
9191
```
9292
93-
will create a virtualenv based on Python 2.7.10 under `~/.pyenv/versions` in a
93+
will create a virtualenv based on Python 2.7.10 under `$(pyenv root)/versions` in a
9494
folder called `my-virtual-env-2.7.10`.
9595
9696
@@ -141,7 +141,7 @@ pyenv deactivate
141141
142142
### Delete existing virtualenv
143143
144-
Removing the directories in `~/.pyenv/versions` and `~/.pyenv/versions/{version}/envs` will delete the virtualenv, or you can run:
144+
Removing the directories in `$(pyenv root)/versions` and `$(pyenv root)/versions/{version}/envs` will delete the virtualenv, or you can run:
145145
146146
```sh
147147
pyenv uninstall my-virtual-env

0 commit comments

Comments
 (0)