Install Memgraph

Install Memgraph

If you're new to Memgraph or you're in a developing stage, we recommend using the Memgraph Platform. Besides the database, it also

includes 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.

Ensure Docker (opens in a new tab) is running in the background. Depending on your operating system, execute the appropriate command in the console:

For Linux and macOS:

curl https://install.memgraph.com | sh

For Windows:

iwr https://windows.memgraph.com | iex

Once you're ready to go to production you can choose to use the memgraph-mage Docker image that includes the database and the graph library, or run the database only, using the memgraph image.

Other installation options are also available.

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.

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.