Market LabDocs

Installation

Install and upgrade the Market Lab CLI and daemon.

Supported platforms:

  • macOS arm64
  • Linux x64
  • Linux arm64

Install

curl -fsSL https://marketlab.sh/install.sh | bash

The installer asks where mlabd should run:

  • Docker: the CLI runs on the host; the daemon runs in the official container.
  • Native: the CLI and daemon run directly on the host.

Choose without an interactive prompt:

curl -fsSL https://marketlab.sh/install.sh | bash -s -- --daemon docker
curl -fsSL https://marketlab.sh/install.sh | bash -s -- --daemon native

Docker installation requires Docker Desktop or Docker Engine to be running.

Install a specific version:

curl -fsSL https://marketlab.sh/install.sh | bash -s -- v0.1.2 --daemon docker

Verify

mlab --version
mlab daemon backend
mlab daemon status

The daemon starts automatically when a live command needs it. See Daemon.

PATH

If mlab is not found after installation:

export PATH="$HOME/.local/bin:$PATH"

Make it permanent in Bash:

echo 'export PATH="$HOME/.local/bin:$PATH"' >> ~/.bashrc
source ~/.bashrc

For Zsh, use ~/.zshrc instead.

Upgrade

Check for a release:

mlab upgrade --check

Upgrade the CLI and daemon together:

mlab upgrade

Do not keep an older daemon running behind a newer CLI. See Daemon troubleshooting if versions do not match.

Next

Run the Quickstart, then configure Authentication only for the providers you need.

On this page