Step-by-Step Guide to Install Appwrite on Windows 10

In this tutorial, you will learn how to install Appwrite on your Windows 10 machine. Follow these steps carefully to successfully install Appwrite:

Prerequisites

Installing Appwrite

  1. Download the latest version of Appwrite from https://appwrite.io/downloads.

  2. Extract the contents of the downloaded zip file to a folder on your machine.

  3. Open a command prompt as an administrator and navigate to the extracted Appwrite directory.

  4. Run the following commands to install Appwrite's dependencies:

npm install
npm install pm2 -g
  1. Open the config.js file in a text editor and update the following settings:
"dbHost": "localhost",
"dbPort": 27017,
"dbUser": "",
"dbPassword": "",
"dbSSL": false,

Change the dbHost and dbPort values to match your MongoDB server details.

  1. Run the following command to start the Appwrite server:
pm2 start app.js --name "appwrite"

You should see the following message output in your console:

[PM2] Starting app: app.js in fork_mode (1 instance)
[PM2] Done.
┌────┬────────────┬─────────────┬─────┬────────┬─────────┬────────┬─────┬───────────┬──────┬──────────┐
│ id │ name       │ namespace   │ mode │ pid    │ status  │ restart │ uptime │ cpu       │ mem  │ user     │
├────┼────────────┼─────────────┼─────┼────────┼─────────┼────────┼─────┼───────────┼──────┼──────────┤
│ 0  │ appwrite   │ default     │ fork │ 19864  │ online  │ 0       │ 3s     │ 0.0%      │ 5mb  │ User     │
└────┴────────────┴─────────────┴─────┴────────┴─────────┴────────┴─────┴───────────┴──────┴──────────┘

You have successfully installed and started Appwrite on your Windows machine.

Testing Appwrite

To test if Appwrite is running correctly, open a web browser and navigate to http://localhost:8000/v1. You should see a response from the Appwrite server in JSON format.

Congratulations! You have successfully installed Appwrite on Windows 10.

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!