gpt4 book ai didi

node.js - 如何在 Windows 中安装 Nodist 时设置 PATH

转载 作者:太空宇宙 更新时间:2023-11-03 23:30:12 26 4
gpt4 key购买 nike

在安装 Windows Node 版本管理器 Nodist 期间,我遇到一条警告消息,其中指出:

PATH not updated, original length 1030 > 1024

结果是,即使 Nodist 也安装成功(根据安装反馈),在 git bash 中除其驻留目录(C:\Program Files (x86)\Nodist\bin)以外的目录级别输入“nodist”会产生:

'nodist' is not recognized as an internal or external command,operable program or batch file.

如何手动设置 PATH?

最佳答案

由于 nodist 可以从 C:\Program Files (x86)\Nodist\bin 目录访问,而不能从其他任何地方访问,因此放置路径

C:\Program Files (x86)\Nodist\bin

在系统变量(可从 Windows 的高级系统设置/环境变量访问)中纠正该问题。非常感谢 Marcel Klehr 的指点。

关于node.js - 如何在 Windows 中安装 Nodist 时设置 PATH,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/39131966/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com