Install Memgraph

Install Memgraph

Memgraph offers various installation options, but we recommend installing Memgraph using Docker (opens in a new tab) and the memgraph-platform Docker image (although other Docker images are also available) as it includes all the tools you might need to analyze your data, such as command-line interface mgconsole, visual user interface Memgraph Lab and a graph algorithm library MAGE.

With the Docker (opens in a new tab) running in the background, run the following command in the console:

docker run -p 7687:7687 -p 7444:7444 -p 3000:3000 --name memgraph memgraph/memgraph-platform

You can stop the instance with docker stop memgraph and start it with docker start memgraph commands.

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.

Other Docker images and installation options are also available.

System requirements

Below are minimum and recommended system requirements for installing Memgraph.

MinimumRecommended
CPUServer 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
RAM1 GB≥ 16 GB ECC
Disk1 GBequally as RAM
Cores1 vCPU≥ 8 vCPUs (≥ 4 physical cores)
Network100 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.