Skip to main content

How to install MAGE?


To build and install MAGE query modules you will need: Python3, Make, CMake and Clang.

Installing with Docker#

1. Make sure to have the memgraph:latest Docker Image.

2. Build the MAGE tagged Docker image with the following command:

docker build . -t memgraph:mage

3. Start Memgraph with the following command and enjoy MAGE:

docker run -p 7687:7687 memgraph:mage

Note that query modules are loaded into Memgraph on startup so if your instance was already running you will need to execute the following query to load them:

CALL mg.load_all();

If you want to find out more about loading query modules, visit this guide.