'openocd' is not recognized as an internal or external command - is it Windows 11 issue? #145
Replies: 4 comments 3 replies
-
By design, xPacks allow different projects to be locked to different versions of a package, thus the need to install versions in separate folders, and not in system locations. The easiest way to use xPacks is to install them non-globally, as instructed in the release page. This will not waste any space, since only links and forwarders are used. |
Beta Was this translation helpful? Give feedback.
-
@ilg-ul Thanks, it makes sense, although I am still not sure what the solution should be. Should I install openocd without using |
Beta Was this translation helpful? Give feedback.
-
Please read the release page, as instructed: https://xpack.github.io/blog/2022/03/25/openocd-v0-11-0-4-released/ |
Beta Was this translation helpful? Give feedback.
-
It is possible to further automate things, you can add an xPack action (which is basically a named script) and invoke it with Here are some examples: |
Beta Was this translation helpful? Give feedback.
-
Yesterday I have tried to install OpenOCD on Windows 11. I have installed OpenOCD on Windows 10 many times before with no issues.
The error message I get trying to run openocd:
'openocd' is not recognized as an internal or external command
Apparently, some path is not set right. Where should I look? I realized I did not know how xpm actually worked. On Windows packs are stored under
%APPDATA%/xPacks
in separate folders, so adding this path to PATH variable will not fix it.Please advise.
Beta Was this translation helpful? Give feedback.
All reactions