gitlink_help_center/set-nodejs-path.bat

5 lines
185 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
echo 正在设置Node.js环境变量...
setx PATH "%PATH%;C:\nodejs" /M
echo 环境变量设置完成请重新打开命令提示符或PowerShell以使更改生效。
pause