WindowsΒΆ

This section of the documentation outlines how to use the release archives to run CrateDB on Microsoft Windows.

Caution

We do not yet officially support CrateDB on Windows for production use. If you would like to deploy CrateDB on Windows, please feel free to contact us so we can work with you on a solution.

  1. Download the latest CrateDB release archive for Windows.

  2. Once downloaded, extract the archive either using your favorite terminal or command-line shell or by using a GUI tool like 7-Zip. We recommend using PowerShell when using terminal:

    # Extract Zip archive
    unzip -o crate-*.zip
    
  3. On the terminal, change into the extracted crate directory:

    cd crate-*
    
  4. Run a CrateDB single-node instance on the local network interface:

    ./bin/crate
    
  5. You will be notified by an INFO message similar to this, when your single-node cluster is started successfully:

    [2022-07-04T19:41:12,340][INFO ][o.e.n.Node] [Aiguille Verte] started
    
  6. In order to stop CrateDB again, use ctrl-c. You will be asked to terminate the job. Input Y:

    Terminate batch job (Y/N)? Y
    

See also

Consult the CLI tools documentation for further information about the ./bin/crate command.

Note

If you are installing CrateDB on a recent Windows Server edition, setting up the latest Microsoft Visual C++ 2019 Redistributable package is required. You can download it at msvcrt x86-64, msvcrt x86-32 or msvcrt ARM64.

Within the terminal, as a Windows user, the prompt after starting PowerShell will look like this.

PS> ./bin/crate

Feedback

How helpful was this page?