You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Memgraph](https://memgraph.com/) is an open-source, in-memory graph database built for real-time streaming and analytical workloads. It is compatible with the [Cypher](https://memgraph.com/docs/querying) query language and the Bolt protocol used by Neo4j drivers, so existing Cypher/Bolt applications can connect without changes.
28
26
29
27
Memgraph publishes native `aarch64` Linux packages and multi-architecture Docker images, so it runs unmodified on Arm-based hardware.
30
28
31
-
Graph algorithms parallelize well and scale with core count, and Arm servers often have a meaningful cost-per-query advantage over equivalent x86 instances that make them an increasingly popular fit for graph workloads.
29
+
Graph algorithms parallelize well and scale with core count. Arm server instances can offer a lower costperquery than equivalent x86 instances for memory-intensive graph workloads.
32
30
33
31
This guide covers two installation paths:
34
32
@@ -62,6 +60,10 @@ If Docker is not already installed, follow the [Docker install guide](/install-g
62
60
63
61
### How do I start the Memgraph container?
64
62
63
+
{{% notice Note %}}
64
+
The following commands use Memgraph version 3.10.1. The same steps work with other versions. Replace the version number in image tags, package filenames, and download URLs with your chosen version. To find the latest release, see the [Memgraph GitHub releases page](https://github.com/memgraph/memgraph/releases).
65
+
{{% /notice %}}
66
+
65
67
The core image is `memgraph/memgraph`, which includes the Memgraph database plus the bundled `mgconsole` CLI. Start it with:
@@ -126,14 +128,22 @@ Memgraph provides native `aarch64` packages for the following distributions:
126
128
127
129
Choose the package that matches your distribution from the [Memgraph Download Hub](https://memgraph.com/download). For convenience, direct download URLs for every supported platform are listed in the [direct download links](https://memgraph.com/docs/getting-started/install-memgraph/direct-download-links) page.
128
130
129
-
### How do I install on Ubuntu or Debian?
131
+
{{< tabpane-normal >}}
132
+
{{< tab header="Ubuntu / Debian" >}}
130
133
131
134
Download the `arm64``.deb` package. For Ubuntu 24.04 on Arm:
The package installs a `systemd` service. Check its status:
@@ -181,7 +195,7 @@ Inspect the startup log to confirm the version:
181
195
sudo journalctl --unit memgraph --no-pager | head
182
196
```
183
197
184
-
You should see a line similar to:
198
+
You should see output similar to:
185
199
186
200
```output
187
201
You are running Memgraph v3.10.1
@@ -218,7 +232,15 @@ This setting is applied on the Linux host, so it is relevant for both the native
218
232
219
233
`mgconsole` is Memgraph’s command-line client for executing Cypher queries. It is already included in the Memgraph Linux packages and in the `memgraph/memgraph:3.10.1` and `memgraph/memgraph-mage:3.10.1` Docker images, so you only need a separate install if you want to run it from a different machine.
220
234
221
-
To install it standalone, download the binary for your platform from the [Memgraph Download Hub](https://memgraph.com/download#individual), or pull the Docker image:
235
+
To install it standalone, download the binary for your platform from the [Memgraph Download Hub](https://memgraph.com/download#individual), or pull the Docker image.
236
+
237
+
If Memgraph is installed directly on the host machine, use host networking so the container can reach it on `localhost`:
238
+
239
+
```bash { target="ubuntu:latest" }
240
+
docker run -it --network host memgraph/mgconsole:latest --host localhost --port 7687
241
+
```
242
+
243
+
If Memgraph is running in another container or on a remote host, replace `localhost` with the appropriate hostname or IP address:
222
244
223
245
```bash { target="ubuntu:latest" }
224
246
docker run -it memgraph/mgconsole:latest --host <memgraph-host> --port 7687
@@ -230,6 +252,10 @@ Full `mgconsole` documentation, including all command-line flags, is available i
230
252
231
253
With Memgraph running either in Docker or as a native service, you can send queries non-interactively through `mgconsole`.
232
254
255
+
{{% notice Note %}}
256
+
If you installed Memgraph with Docker, replace `mgconsole --host localhost --port 7687` with `sudo docker exec -i memgraph mgconsole` in piped commands, or run `docker exec -it memgraph mgconsole` for an interactive session.
0 commit comments