Updated on 2023-02-27 GMT+08:00

Installing KooCLI in Windows

  1. Download KooCLI for Windows.
  2. Decompress the package to obtain the hcloud.exe file, as shown in Figure 1.

    Figure 1 hcloud.exe file

  3. (Optional) Add the directory where KooCLI is located to the system environment variable Path so that you can run hcloud commands in any directory of Command Prompt.

    1. If you use Windows 10 or Windows 8, search for and select View advanced system settings, and click Environment Variables.

      If you use Windows 7, right-click the Computer icon on the desktop, and choose Properties from the shortcut menu. Click the Advanced system settings link, and click Environment Variables.

    2. On the Environment Variables page, select Path in the user variable list, and click Edit.
    3. On the Edit environment variable page, click New and enter the path of the hcloud.exe file.
    4. Click OK on the three pages successively to save the change.
    5. (Optional) Open the Command Prompt, and run the following command to check whether the environment variable contains the directory where the hcloud.exe file is located. If yes, the configuration is successful.
      set path

  4. (Optional) If Step 3 is not performed, go to the directory where KooCLI is located, open the Command Prompt of Windows, and run the following command to check whether the CLI is installed successfully:

    hcloud version

    If version information similar to the following is displayed, the installation is successful:

    hcloud version
    Current KooCLI version: 3.2.8