File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,10 +129,12 @@ See `pyenv help <command>' for information on a specific command.
129129For full documentation, see: https://github.com/yyuu/pyenv#readme
130130```
131131
132- **local命令**
132+ **local命令:**
133+
133134local命令切换当前目录及子目录的Python版本,可以通过删除' .python-version' 恢复默认Python版本;
134135
135- **global命令**
136+ **global命令:**
137+
136138global切换全局默认Python版本,不建议这么使用;
137139
138140#### virtualenv命令:
@@ -152,13 +154,17 @@ Usage: pyenv virtualenv [-f|--force] [VIRTUALENV_OPTIONS] [version] <virtualenv-
152154 -f/--force Install even if the version appears to be installed already
153155```
154156
155- **install命令**
157+ **install命令:**
158+
156159安装指定版本,后面直接跟版本号即可;
157160
158- **Uninstall命令**
161+ **Uninstall命令:**
162+
159163卸载某个版本,包括虚拟环境;
160164
165+ 环境配置情况:
161166python的环境是基于site的,即整个机器的python环境是一样的;
167+
162168java是基于project的,每个项目可以使用不同的java环境;
163169
164170### pyenv virtualenv 命令:
You can’t perform that action at this time.
0 commit comments