Install Harper
Last updated
Last updated
This documentation contains information for installing Harper locally. Note that if you’d like to get up and running quickly, you can try a . Harper is a cross-platform database; we recommend Linux for production use, but Harper can run on Windows and Mac as well, for development purposes. Installation is usually very simple and just takes a few steps, but there are a few different options documented here.
Harper runs on Node.js, so if you do not have it installed, you need to do that first (if you have installed, you can skip to installing Harper, itself). Node.js can be downloaded and installed from . For Linux and Mac, we recommend installing and managing Node versions with . Generally NVM can be installed with the following command:
And then logout and login, and then install Node.js using nvm. We recommend using LTS, but support all currently maintained Node versions (which is currently version 14 and newer, and make sure to always uses latest minor/patch for the major version):
Then you can install Harper with NPM and start it:
Harper will automatically start after installation. Harper's installation can be configured with numerous options via CLI arguments, for more information visit the guide.
If you are setting up a production server on Linux, .
If you would like to run Harper in Docker, install on your Mac or Windows computer. Otherwise, install the on your Linux server.
Once Docker Desktop or Docker Engine is installed, visit our for information and examples on how to run a Harper container.
If you need to install Harper on a device that doesn't have an Internet connection, you can choose your version and download the npm package and install it directly (you’ll still need Node.js and NPM):
Once you’ve downloaded the .tgz file, run the following command from the directory where you’ve placed it:
Harper comes with binaries for standard AMD64/x64 or ARM64 CPU architectures on Linux, Windows (x64 only), and Mac (including Apple Silicon). However, if you are installing on a less common platform (Alpine, for example), you will need to ensure that you have build tools installed for the installation process to compile the binaries (this is handled automatically), including:
GCC
Make
Python v3.7, v3.8, v3.9, or v3.10
: version 1.19.1