-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
你好,我遇到了两个问题 #1085
Comments
I don't speak chinese so I used google translate so I'm sorry if this isn't what you asked:
|
Hello, thank you very much for your reply, maybe my description is somewhat inaccurate. My first question: the installation directory is like this "fnm/node-versions/v20.10.0/installation/", I mean is it possible to put the contents of the installation directory directly into the v20.10.0 directory and delete the installtion directory at the same time. |
waos |
it is, but it wasn't as i implemented it at first... does that matter? |
你好,我摸索了一下, fnm安装node的目录可以通过环境变量FNM_DIR控制 附上我的配置:
希望这对你有帮助! English: Hello, I figured out that the node directory installed by fnm is controlled by the environment variable FNM_DIR. As for the fnm_multishells directory, it contains links and doesn't take up space, so we don't need to worry about it. Here is my configuration: PS D:\> $env:FNM_DIR && $env:FNM_NODE_DIST_MIRROR
D:\MyProgram\EnglishRepair\fnm\fnmdir
https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/
PS D:\> fnm env
......
$env:FNM_DIR = "D:\MyProgram\EnglishRepair\fnm\fnmdir"
$env:FNM_COREPACK_ENABLED = "false"
$env:FNM_RESOLVE_ENGINES = "false"
$env:FNM_VERSION_FILE_STRATEGY = "local"
$env:FNM_LOGLEVEL = "info"
$env:FNM_NODE_DIST_MIRROR = "https://mirrors.tuna.tsinghua.edu.cn/nodejs-release/"
$env:FNM_ARCH = "x64" I hope this helps you! |
1、安装完成后,有一个installation目录,我认为他是多余的
2、fnm_multishells默认是C盘,我想修改到D盘,但是没有效果
The text was updated successfully, but these errors were encountered: