Terminal commands problem with $PATH?
Hello,
I'm using a Mac Studio M2 Max (2023) with Sonoma 14.4. My problem is executing certain terminal commands: I keep getting the "zsh: command not found: vpm" error.
It is my goal to make 'worlds' for VRChat, for which I need to use VRChat's Command Line Interface (as their Creator Companion program is Windows only). In following their official guide https://vcc.docs.vrchat.com/vpm/cli/ I've run into this issue:
After running "dotnet tool install --global vrchat.vpm.cli", when I try to run the "vpm install templates" command I get the above error. (Yes, I've confirmed that the install worked.)
I found this article https://iboysoft.com/howto/mac-command-not-found.html suggesting to change the default path using "export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"", but I have no idea if this command might mess up other things (if the current $PATH is set to something other than the default, it might be that way for a reason).
So I ran "echo $PATH" to see what it's currently set to, and got this mess of a path:
"/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/usr/local/share/dotnet:~/.dotnet/tools:/Library/Frameworks/Mono.framework/Versions/Current/Commands"
Surely that can't be the correct path, can it?
Apologies if this is something straightforward, |'ve only used Terminal very rarely so far.
Many thanks!
Mac Studio (2023)