doc/user/content/integrations/mz-debug/_index.md
mz-debug is a command-line interface tool that collects debug information for self-managed and emulator Materialize environments. By default, the tool creates a compressed file (.zip) containing logs and a dump of the system catalog. You can then share this file with support teams when investigating issues.
mz-debug{{< tabs >}}
{{< tab "macOS" >}}
ARCH=$(uname -m)
sudo echo "Preparing to extract mz-debug..."
curl -L "https://binaries.materialize.com/mz-debug-latest-$ARCH-apple-darwin.tar.gz" \
| sudo tar -xzC /usr/local --strip-components=1
{{</ tab >}} {{< tab "Linux" >}}
ARCH=$(uname -m)
sudo echo "Preparing to extract mz-debug..."
curl -L "https://binaries.materialize.com/mz-debug-latest-$ARCH-unknown-linux-gnu.tar.gz" \
| sudo tar -xzC /usr/local --strip-components=1
{{</ tab >}}
{{</ tabs >}}
### Get version and help
To see the version of `mz-debug`, specify the `--version` flag:
```shell
mz-debug --version
To see the options for running mz-debug,
mz-debug --help
To run mz-debug, see