Installation
Requirements
Section titled “Requirements”StackSolo requires:
- Node.js 18+ - For running the CLI
- Google Cloud CLI - For GCP authentication
- Terraform - For infrastructure deployment
Install the CLI
Section titled “Install the CLI”# Use directly with npx (no install required)npx stacksolo --help
# Or install globallynpm install -g stacksoloVerify installation:
stacksolo --versionInstall Dependencies
Section titled “Install Dependencies”Node.js
Section titled “Node.js”Download from nodejs.org or use a version manager:
# Using nvmnvm install 20nvm use 20
# Using Homebrewbrew install node@20Google Cloud CLI
Section titled “Google Cloud CLI”# macOSbrew install google-cloud-sdk
# Linuxcurl https://sdk.cloud.google.com | bashexec -l $SHELLgcloud initOr download from cloud.google.com/sdk/docs/install
Terraform
Section titled “Terraform”# macOSbrew install terraform
# Linux (Ubuntu/Debian)wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpgecho "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.listsudo apt update && sudo apt install terraformOr download from terraform.io/downloads
Authenticate with GCP
Section titled “Authenticate with GCP”# Login with your Google accountgcloud auth login
# Set up application default credentialsgcloud auth application-default login
# Set your default projectgcloud config set project YOUR_PROJECT_IDVerify Setup
Section titled “Verify Setup”Check that everything is installed:
# Check Node.jsnode --version# Should be v18.0.0 or higher
# Check gcloudgcloud --version# Should show Google Cloud SDK version
# Check terraformterraform --version# Should show Terraform version
# Check stacksolostacksolo --version# Should show StackSolo versionOptional: Local Development
Section titled “Optional: Local Development”For local development with stacksolo dev, you also need:
OrbStack (macOS) or Kubernetes
Section titled “OrbStack (macOS) or Kubernetes”# Install OrbStack (recommended for macOS)brew install orbstack
# Or use Docker Desktop with Kubernetes enabled# Or minikubebrew install minikubeminikube startkubectl
Section titled “kubectl”brew install kubectlNext Steps
Section titled “Next Steps”- Quickstart - Deploy your first app
- Configuration Guide - Learn the config format