I added the exe file to the environment variable in windows and the Godot command doesn't seem to work. Only works if I navigate the command line path to the folder of the Godot exe file.

    zerohootsoliver I added the exe file to the environment variable

    Do you mean that you added the path to the directory containing the Godot .exe file?

    Which environment variable?

    Which Godot version?

    You don't add the exe. You would add the full path of the directory the exe is located in to the PATH (and be sure to add to the PATH and not override it).

      You also have to restart your computer after changing the PATH (or maybe just logout login, I forget).

      a year later

      Bit late but I had the same problem so make sure your godot executable name is godot.exe instead of default one with godot_version and stuff