The prerequisites for installing on Windows are:
- NET Framework 4.0+
Install from Chocolatey
EventStoreDB has Chocolatey packagesopen in new window available that you can install with the following command in an elevated terminal:
choco install eventstore-oss
Download the binaries
You can also downloadopen in new window a binary, unzip the archive and run from the folder location with an administrator console.
The following command starts EventStoreDB with the database stored at the path ./db and the logs in ./logs. Read mode about configuring the EventStoreDB server node in the Configuration section.
EventStore.ClusterNode.exe --db ./db --log ./logs
EventStoreDB runs in an administration context because it starts an HTTP server through
http.sys. For permanent or production instances you need to provide an ACL such as:
netsh http add urlacl url=http://+:2113/ user=DOMAIN\username
For more information, refer to Microsoft
add urlacl documentationopen in new window.
To build EventStoreDB from source, refer to the EventStoreDB GitHub repositoryopen in new window.
If you installed EventStoreDB with Chocolatey, you can uninstall with:
choco uninstall eventstore-oss
This removes the
eventstore-oss Chocolatey package.
If you installed EventStoreDB by downloading a binaryopen in new window, you can remove it by:
- Deleting the
- Removing the directory from your PATH.