Install Memgraph
Memgraph can be installed on various systems, but the most common way of running it is using Docker. If you're new to Memgraph we recommend running Memgraph Platform, a multi-container application. It includes the database and all the tools you might need to analyze your data, such as command-line interface mgconsole, web interface Memgraph Lab and a complete set of algorithms within a MAGE library.
Memgraph Platform is no longer a single-container application. Before (Memgraph < 2.14), Memgraph Platform was a separate Docker image released on Docker Hub. This image is no longer supported, because having database service and client service in the same container is not a good practice. Still, with Memgraph Lab being released on Docker Hub, it is possible to run Memgraph MAGE and Lab as two separate services, and in that way, running Memgraph Platform as a multi-container application with Docker Compose.
For a quick start, please follow the Getting started guide.
Installation options
The quick start will accelerate your first steps with Memgraph. If you plan on using Memgraph for your project, it's best to familiarize yourself with the installation options and pick the preferred one.
You don't want to bother with installation? Done!
Register and run a Memgraph Cloud (opens in a new tab) instance with a 2-week trial period.
System requirements
Below are minimum and recommended system requirements for installing Memgraph.
Minimum | Recommended | |
---|---|---|
CPU | Server or desktop processor: Intel Xeon AMD Opteron/Epyc ARM machines or Apple M1 Amazon Graviton | Server processor: Intel Xeon AMD Opteron/Epyc ARM machines or Apple M1 Amazon Graviton |
RAM | 1 GB | ≥ 16 GB ECC |
Disk | 1 GB | equally as RAM |
Cores | 1 vCPU | ≥ 8 vCPUs (≥ 4 physical cores) |
Network | 100 Mbps | ≥ 1 Gbps |
The disk is used for storing database durability files - snapshots and write-ahead logs.
Check out how the storage memory is used, and calculate memory requirements based on your data.