How to Install Typesense on Windows 11

Typesense is an open-source, fast and lightweight search engine that is built for speed and ease of use. In this tutorial, we will go through the steps to install Typesense on Windows 11.

Prerequisites

Before we start with the installation, you should make sure that you have the following:

Installation Steps

  1. Open your web browser and navigate to https://typesense.org/downloads/.

  2. On the Typesense Downloads page, scroll down to the Latest Release section and click on the Windows icon.

  3. Once the download is complete, open the downloaded file named typesense-server-windows-x64.exe.

  4. In the Typesense Server Setup window, click the "Next" button.

  5. Read and accept the license agreement by clicking on the "I accept the terms in the License Agreement" checkbox, and then click "Next".

  6. You will be asked to choose the installation location. By default, Typesense will be installed in C:\Program Files\Typesense. However, you can choose a different installation directory. Click "Next" after selecting your preferred directory.

  7. In the "Select Additional Tasks" window, you can choose to create a shortcut on the desktop and add Typesense to the system PATH. Once you have made your choices, click "Next".

  8. In the "Ready to Install" window, click the "Install" button.

  9. The installation will take a few minutes to complete. Once installation is complete, click "Finish".

  10. Open a command prompt and type cd C:\Program Files\Typesense\ to navigate to the Typesense installation directory.

  11. Run the following command to start Typesense:

    typesense-server.exe --api-key=xyz --data-dir=data
    

    Replace xyz with your preferred API key.

    This command will start Typesense and create a data directory inside the installation directory.

  12. Once Typesense has started, open your web browser and navigate to http://localhost:8108. You should see the Typesense dashboard.

  13. Congratulations! You have successfully installed Typesense on Windows 11.

Conclusion

In this tutorial, we have gone through the steps to install Typesense on Windows 11. You should now be able to use Typesense to build fast and powerful search functionalities in your applications.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!

Alternatively, for the best virtual desktop, try Shells!