This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
[Question]: Comparing the symbolic link solution with the environment variable solution #141
Labels
question
Further information is requested
方案参考:https://github.com/Schniz/fnm
如下图所示,只需要在打开终端时设置一次环境变量。其中有个临时目录设置到环境变量PATH中。
实际上设置到PATH中的值也只是个目录软链接,重点就是后续切换环境,只需要修改该软连接的目标目录,轻松实现版本切换
上图是指向 alias 别名为 default 的版本,下图是直接指向固定版本的情况。这种方案允许为指定版本创建别名,使用时也可以不用记住指定版本,记住别名也能轻松切换版本。这种方案我感觉很灵活。
当前vfox的版本切换我看了,每次切换版本都需要设置PATH环境变量。我也是window的cmder用户,同样遇到 #129 的困扰。但我在用fnm时没遇到该问题(fnm支持cmd.exe且也有cmder设置教程),所以是否可以将vfox切换版本的方案改成fnm那种呢?
The text was updated successfully, but these errors were encountered: