Setting up Habitica Locally on Windows

When presented with the "Configuring the line ending conversions" window, select "Checkout as-is, commit Unix-style line endings".

Alternatively, after you have finished installing git, you can configure that setting from the command line by running

This is necessary because Windows handles line endings differently than other operating systems. It uses a combination of a carriage return and line feed,  (CRLF), while Unix/Linux/MacOS systems use only the line feed (LF) character. To force Windows to be compatible, you must set up Git to ensure that only LF line endings are committed to Habitica's GitHub repository.

For further information on line endings and whitespace in Git, see the "Formatting and Whitespace" section in the Pro Git book.

If you don't want to set the  setting globally, see Dealing with line endings > Per-repository settings to learn how to set it for individual repositories. This will only be relevant to you if you are already using Git for other projects or will be using it for others in future.

Install Build Tools
Install the Visual C++ 2015 build tools.

''This step might not be necessary but recent contributors using Windows installs have indicated that it might be needed for some of Habitica's dependencies to be installed (e.g., bcrypt). If you have feedback about this, please post to the Aspiring Blacksmith's guild.''

Install MongoDB
Follow the MongoDB's official instructions to install MongoDB Community Edition on Windows.