Installation
Install the Mogplex CLI on macOS, Linux, or Windows and verify that it is runnable in your shell.
Use the hosted installer to download the current release for your platform. No Node.js runtime is required.
Install
curl -fsSL https://www.mogplex.com/install.sh | shiwr -useb https://www.mogplex.com/install.ps1 | iexThe PowerShell installer currently targets Windows x64. Windows ARM64 is not supported yet.
What the installer changes
The installer downloads the current release archive, extracts the mogplex binary, and installs it into the Mogplex home bin directory:
- macOS and Linux:
~/.mogplex/bin/mogplex - Windows:
%USERPROFILE%\.mogplex\bin\mogplex.exe
It then tries to make mogplex runnable immediately:
- on macOS and Linux it first tries to link
mogplexinto a writable directory already on yourPATH - if that is not possible, it updates your shell profile or prints the export command
- on Windows it updates the user
PATHfor future PowerShell sessions
If you want a different install location, set MOGPLEX_INSTALL_DIR before running the installer.
Installer environment variables
MOGPLEX_INSTALL_DIR— override the install location.MOGPLEX_VERSION— pin to a specific release instead of the latest.MOGPLEX_BASE_URL— override the manifest host (must be HTTPS).
Examples:
MOGPLEX_INSTALL_DIR="$HOME/.local/bin" \
curl -fsSL https://www.mogplex.com/install.sh | shMOGPLEX_VERSION=0.2.0 \
curl -fsSL https://www.mogplex.com/install.sh | shVerify the install
mogplex --versionIf your current shell still does not see it, run:
rehash
# or
exec zsh -lFirst run
mogplexThe first launch opens the in-app login screen. Sign in with your Mogplex account. Mogplex never requires environment variables for normal use.
For the full first-run flow, continue with Quickstart.
Upgrade
Re-run the installer. It detects the existing install and replaces the binary in place.
Troubleshooting
mogplex: command not found— the install succeeded but your shell has not picked up the updatedPATH. Rehash or open a new shell.- The installer downloads but fails before extraction — confirm your machine has the right extractor (
tarfor.tar.gz,unzipordittofor.zip). - You pinned
MOGPLEX_BASE_URLand the script exits immediately — the installer rejects non-HTTPS hosts. - Login succeeds but prompts fail — your account probably lacks model access. Check Available Models and Plans & Billing.
Uninstall
Delete the mogplex binary from the location the installer reported. Local state in ~/.mogplex/ is left untouched.
Remove that directory too if you want to clear config, auth, logs, permissions, and other local state.