ERROR: Command `Install ‘code‘ command in PATH` exited with status code 1.

Error prompt

ERROR: Command Install 'code' command in PATH exited with status code 1.

the reason

  • In the Windows system, we want to add a code shortcut command through the shell command tool, but this command does not exist in the Windows system.

Solution

在系统的环境变量中将VScode的bin目录加进去

Guess you like

Origin blog.csdn.net/sinat_41696687/article/details/115041660