Skip to content

Environment Check

Before configuring any CLI tool, make sure your development environment meets the basic requirements.

Node.js

Most CLI tools require Node.js. Node.js 18 or newer is recommended.

bash
# Check Node.js version
node --version
# Should print v18.x.x or later

# Check npm version
npm --version

Install on macOS / Linux

If Node.js is not installed, we recommend using nvm to manage versions:

bash
# Install nvm
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash

# Install the latest LTS release
nvm install --lts

You can also download an installer directly from nodejs.org.

Install on Windows

We recommend the LTS release.

After installation, restart your terminal so node and npm are available.

Option 1: official installer (recommended)

Go to https://nodejs.org, download the Windows LTS installer (.msi), and use the default settings.

Option 2: package manager

powershell
# Winget (built into Windows 11/10)
winget install OpenJS.NodeJS.LTS

# Or Chocolatey
choco install nodejs-lts

# Or Scoop
scoop install nodejs-lts

After installation, open CMD or PowerShell and verify:

powershell
node --version
npm --version

Network

Make sure your network can reach https://model-go.com:

bash
curl -I https://model-go.com
# Should return HTTP 200
powershell
Invoke-WebRequest -Uri https://model-go.com -Method Head
# Should return StatusCode 200

Next step

Once your environment is ready, choose the setup guide for the tool you use: