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 | bashThe 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 nativeDocker 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 dockerVerify
mlab --version
mlab daemon backend
mlab daemon statusThe 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 ~/.bashrcFor Zsh, use ~/.zshrc instead.
Upgrade
Check for a release:
mlab upgrade --checkUpgrade the CLI and daemon together:
mlab upgradeDo 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.