Sign in
On this page

Install the CLI

Install and verify the modcloud CLI package.

Install with the shell installer

The installer requires Node.js 18 or newer, npm, and either curl or wget. It checks that the global npm directory is writable without sudo before continuing.

Code
curl -fsSL https://modcloud.dev/cli/install.sh | sh

The installer downloads the package, its SHA-256 checksum, and its Ed25519 signature. It stops if either integrity check fails, then runs npm with--ignore-scripts.

The installer is a POSIX /bin/sh script for Linux, macOS, Termux, and WSL. It does not run directly in Windows PowerShell; install the tarball there with the npm command below.

Install globally with npm

Code
npm install -g modcloud

Verify the installation

Print the installed CLI version to confirm that the executable is available (both modcloud and modvc aliases work):

Code
modcloud --version

If the shell installer reports that the global npm directory is not writable, configure a user-owned npm prefix and add its bin directory to yourPATH, then rerun the installer. In PowerShell, use the direct npm tarball command above instead.