How to Install XWiki on Windows 11

XWiki is a powerful open source Wiki platform that you can install on your computer to create, manage and share content with others. In this guide, we'll walk you through the step-by-step process of installing XWiki on Windows 11.

Prerequisites

Before we start, make sure you have the following prerequisites:

  • A Windows 11 computer or laptop
  • Java installed on your computer. You can download the latest version of Java from https://www.java.com

Step 1: Download and Extract XWiki

  1. Go to https://www.xwiki.org and click on the Download button on the top of the page.

  2. On the download page, select the version of XWiki that you want to download. We recommend that you download the latest version available.

  3. Once the download is complete, extract the contents of the downloaded XWiki archive to a location of your choice on your computer.

Step 2: Install XWiki

  1. Open a command prompt by pressing the Win + R keys on your keyboard, type cmd, and press Enter.

  2. Navigate to the directory where you extracted the XWiki files using the cd command. For example, if you extracted the files to the C:\xwiki directory, type the following command:

    cd C:\xwiki
    
  3. Run the following command to start the XWiki server:

    java -jar -Denvironment.permanentDirectory=<path to XWiki data directory> <path to XWiki WAR file>
    

    Replace the <path to XWiki data directory> with a folder path where XWiki will store its data. For example, C:\xwiki\data.

    Replace the <path to XWiki WAR file> with the path to the XWiki WAR file you extracted. For example, C:\xwiki\xwiki-enterprise-web-13.2.war.

  4. Wait for XWiki to start. After a few minutes, the following message will be displayed:

    [main] INFO org.eclipse.jetty.server.Server - Started @ <timestamp>
    
  5. Once the server has started successfully, open a web browser and navigate to http://localhost:8080/xwiki. XWiki will load, and you can log in and start using it.

That's it! You have successfully installed and set up XWiki on your Windows 11 computer.