Loading...

Knowledge Base

Purchase a HostGator Self-Managed VPS with gstack Installation

gstack is an open-source AI-powered software factory that transforms Claude Code into a virtual engineering team. It provides 23 specialized slash command skills covering the complete software development lifecycle from product strategy and architecture review through quality assurance and release management. stack implements a structured sprint methodology designed to help individual developers work with the structure and pace of a larger team.

Key Benefits of gstack

gstack gives you a full virtual engineering team built into Claude Code, instead of one assistant trying to cover every stage on its own. Its 23 slash command skills span the whole development lifecycle, from strategy and architecture review to QA and release, so nothing gets missed between planning and shipping. Because it follows a structured sprint methodology, one developer can work with a pace and structure that resembles a full team's workflow.

What You Can Do With gstack

gstack's skills follow the sprint cycle: Think, Plan, Build, Review, Test, Ship, and Reflect. Each step feeds the next.

  • Think and Plan: Work out product strategy, then turn decisions into design docs that guide everything after.
  • Build: Write and structure code that follows the plan.
  • Review: Run architecture and code reviews, and generate test matrices for QA.
  • Test and Ship: Use those test matrices to guide QA, then release through a structured process.
  • Reflect: Run a retrospective so lessons carry into the next sprint.

One developer can work with the structure of a full team, at a faster pace than working solo.

System Requirements

Before deploying, ensure your server meets the following minimum hardware requirements. For a stable production deployment, we recommend using higher specifications than the minimum requirements.

Resource Minimum Recommended
RAM 4 GB 8 GB
Disk 20 GB 30 GB
CPU 2 vCPUs 4 vCPUs

How to Purchase a Self-Managed VPS Hosting with gstack Installation

To use gstack on HostGator, you first need to buy a Self-Managed VPS plan. Here is how to do it:

Pre-configured Setup

Self-Managed VPS - Pre-configured Setup
Not sure which VPS setup is right for you? That's exactly what Pre-configured Setup is for. You'll find this option near the top of the HostGator Self-Managed VPS purchase page, and it takes the guesswork out of getting started. Just tell us what you're building—a WordPress Site, an AI Agent/Claude Code project, a Dev/Staging environment, or an eCommerce Store—and we'll automatically select the right plan, operating system, and template to match.
  • Great option if you're new to VPS or want a fast, easy setup
  • Get the recommended configuration for your project right away
  • No need to figure out the technical details yourself
  • Full flexibility to adjust settings later on
Try Pre-configured Setup and have your HostGator Self-Managed VPS ready to go in minutes!
  1. Open https://www.hostgator.com/vps-hosting in your browser.
  2. Pick the plan you want and click Choose Plan.

    Self-Managed VPS - Choose Plan
     

  3. Pick a Data Center location.

    Self-Managed VPS - Data Center Locations
     

  4. On the Cart page, you can set up your server the way you want:
    1. Hardware:
      1. Pre-selected:

        You can change to a different Self-Managed VPS plan here.

        Self-Managed VPS - Pre-selected Hardware
         

      2. Configure:

        Click Configure if you want to build your own custom package.

        Self-Managed VPS - Configure
         

    2. Software:
      1. Click the Application tab.
      2. Choose gstack.

        Self-Managed VPS - gstack Software
         

      3. In the pop-up, click Confirm.

        Self-Managed VPS - gstack -Confirm
         

  5. Support & Security:

    You can add Premium Support here for faster help and quicker replies. This is Optional.

    Self-Managed VPS - Premium Support
     

  6. AI Credits:

    Add a HostGator AI Credits package to connect your application to top LLM providers through one API key and a single bill. This step is optional.

    Self-Managed VPS - AI Credits
     

  7. In Advanced options, you can set these up if you want:
    • Extra IPs: Add more IP addresses for an extra cost. The price changes based on how many you add.
    • Hostname: Give your server a custom name. This is optional.
    • SSH Key: If you want to log in without a password, add your SSH public key here. This is optional.

      Self-Managed VPS - Advanced Options
       

  8. Choose a billing term, check your Order Summary, then click Continue to Checkout.

    Self-Managed VPS -Initial- Order Summary
     

  9. Check your HostGator cart. Remove any add-ons you don't want, then click Continue to Checkout again.

    Self-Managed VPS - Continue to Checkout
     

  10. On the Checkout page, do the following:

    If you are new to HostGator:

    1. Fill in your billing information and contact details. If you don't want marketing emails, uncheck the box at the bottom.

      Self-Managed VPS - Billing Information
       

    2. Create a password for your account.

      Self-Managed VPS - Account Password
       

    3. Choose how you want to pay—Credit Card or PayPal—and enter your payment details.

      Self-Managed VPS - Payment Method Options
       

    If you already have an account, your HostGator login details will show up once you log in to your Customer Portal. If you are not logged in, click Log In.

    Self-Managed VPS - HostGator Login
     

  11. Review your payment method and order total. If you have a promo code, click Add Promo Code and enter your code. If you need to make changes, click Edit or Add Payment Method. When everything looks correct, click Submit Payment to complete your purchase. By clicking Submit Payment, you agree to the Auto Renewal Terms, Terms of Service, Cancellation Policy, and Privacy Notice.

    Self-Managed VPS - Submit Payment
     

After checkout, your Self-Managed VPS will begin setting up. Once it’s ready, you can find it under the Hosting tab in your Customer Portal.

Setting Up Your gstack Environment

gstack gives Claude Code a full virtual engineering team to work with. It carries your project through the whole development lifecycle, from early product strategy to final release, using 23 specialized commands.

Work through the steps below to get your environment ready and kick off your first sprint.

Step 1: Log In to Your gstack Dashboard

Once installation wraps up:

  1. Log in to your Customer Portal.
  2. From the left-hand menu, navigate to Hosting and select My Plans.

    Customer Portal - Hosting tab - View Details
     

  3. Locate the server you want to manage, then click View Details in the bottom-left corner to expand the section and access additional server information.

    Customer Portal - Hosting tab - View Details
     

  4. Click the Reset Password button.

    Customer Portal - Hosting tab - View Details - Reset Password
     

  5. In the pop-up window, type your new root password, then click Reset Password again to confirm and save the changes.

    Customer Portal - Hosting tab - View Details - Reset Password
     

  1. Connect to your VPS via SSH.
    Log in with your VPS IP and credentials through an SSH client, and enter your root password when prompted:
    ssh root@your_server_ip

    Example Output:

    Welcome to Ubuntu 24.04.4 LTS (GNU/Linux 6.8.0-124-generic x86_64)
    ********************************************************************************
    
    gstack is installed and ready. Claude Code with gstack skills awaits your use.
    
    gstack gives you 23 specialized slash commands covering the full development
    lifecycle: strategy, architecture, code review, QA, security, and release.
    
    IMPORTANT: machinectl is required to enter the gstack user session.
      Without it, user-scoped environment settings will not be loaded correctly.
    
    First-time setup:
      machinectl shell gstack@
      claude auth
      cd ~/my-project && claude
    
    Then inside Claude Code, type /gstack to see all available skills.
    
    Sprint workflow:
      /office-hours       - define the feature
      /plan-eng-review    - validate the technical approach
      /qa                 - generate tests before building
      /ship               - release when done
    
    Updating gstack (inside a claude session):
      /gstack-upgrade
    
    Or manually:
      machinectl shell gstack@
      cd ~/.claude/skills/gstack && git pull && ./setup --quiet
    
    Files:
      Skills   : /home/gstack/.claude/skills/
      Source   : /home/gstack/.claude/skills/gstack
      Config   : /home/gstack/.gstack/
      README   : /root/README.md (root) | /home/gstack/README.md (gstack user)
    
    Installed:
      Node.js    : v22.23.0
      Bun        : 1.3.14
      Claude Code  : 2.1.186 (Claude Code)
      Server IP    : 12.1.1.123
    
    ********************************************************************************
    To delete this message of the day: rm -rf /etc/update-motd.d/99-gstack

Step 2: Switch to the gstack Account

For security, gstack operates under its own dedicated user account. Move into that session with:

machinectl shell gstack@

Example Output:

root@server-12345:~# machinectl shell gstack@
Connected to the local host. Press ^] three times within 1s to exit session.
gstack@server-12345:~$

Step 3: Connect Claude Code to Your Account

Claude Code needs to be linked to your Anthropic account before you can start coding. Pick one of two paths:

  • Option A (Interactive): Run claude auth and follow the on-screen prompts.
    claude auth

    Example Output:

    gstack@server-12345:~$ claude auth
    Usage: claude auth [options] [command]
    
    Manage authentication
    
    Options:
      -h, --help        Display help for command
    
    Commands:
      help [command]    display help for command
      login [options]    Sign in to your Anthropic account
      logout            Log out from your Anthropic account
      status [options]  Show authentication status
  • Option B (Environment Variable): Or set your key directly in your current session:
    export ANTHROPIC_API_KEY=your_key_here

Step 4: Launch Your First Sprint

If you haven't created your project folder yet:

Create it and move into it, then start Claude Code:

mkdir ~/my-project cd ~/my-project claude

Example Output:

gstack@server-12345:~$ mkdir ~/my-project
cd ~/my-project
claude
mkdir: cannot create directory ‘/home/gstack/my-project’: File exists
Welcome to Claude Code v2.1.186
..........................................................

     *                                       █████▓▓░
                                 *         ███▓░     ░░
            ░░░░░░                        ███▓░
    ░░░   ░░░░░░░░░░                      ███▓░
   ░░░░░░░░░░░░░░░░░░░    *                ██▓░░      ▓
                                             ░▓▓███▓▓░
 *                                 ░░░░
                                 ░░░░░░░░
                               ░░░░░░░░░░░░░░░░
       █████████                                        *
      ██▄█████▄██                        *
       █████████      *
.......█ █   █ █..........................................

 Let's get started.

 Choose the text style that looks best with your terminal
 To change this later, run /theme

   1. Auto (match terminal)
 ❯ 2. Dark mode ✔
   3. Light mode
   4. Dark mode (colorblind-friendly)
   5. Light mode (colorblind-friendly)
   6. Dark mode (ANSI colors only)
   7. Light mode (ANSI colors only)

 ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
  1  function greet() {
  2 -  console.log("Hello, World!");
  2 +  console.log("Hello, Claude!");
  3  }
 ╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌
  Syntax theme: Monokai Extended (ctrl+t to disable)

The first time you run claude, you'll be asked to pick a text style for your terminal — choose whichever looks best and press Enter. If you selected Option 1 (Claude subscription) back in Step 3, the CLI will also open a browser session for you to authorize your account:

 Claude Code can be used with your Claude subscription or billed based on API usage through your Console account.

 Select login method:

 ❯ 1. Claude account with subscription · Pro, Max, Team, or Enterprise
   2. Anthropic Console account · API usage billing
   3. 3rd-party platform · Amazon Bedrock, Microsoft Foundry, or Vertex AI

If your browser doesn't launch automatically, copy the URL below and paste it into your browser to finish signing in. Once authorized, you'll receive a verification code — copy it, return to your terminal, paste it when prompted, and press Enter:

 Browser didn't open? Use the url below to sign in (c to copy)

https://claude.com/cai/oauth/authorize?code=true&client_id=9d1c250a-e61b-44d9-88ed-5944d1962f5e&response_type=code&redirect_uri=https%3A%2F%2Fplatform.claude.com%2Foauth%2Fcode%2Fcallback&scope=org%3Acreate_api_key+user%3Aprofile+user%3Ainference+user%3Asessions%3Aclaude_code+user%3Amcp_servers+user%3Afile_upload&code_challenge=ebpyfZlp5uPT8pvo1gezIRJ0P4vgW7tHLztDSKNYc44&code_challenge_method=S256&state=qhPFuP_QmdQL82Nf79jGaHZ8QY3mnF1dUacvmNiUkgI

 Paste code here if prompted >

If your project already exists somewhere else:

  1. Run ls -F to see what's in your current directory (the -F flag marks folders with a trailing /).
  2. Run cd path/to/your/project to move into it.
  3. Run claude to start your session.
  4. Once Claude Code is active, type /gstack to see the full menu of 23 specialized skills.

Step 5: Jump Into Your Project

Once your environment is set, you're ready to manage projects through the gstack-powered Claude CLI.

cd ~/my-project

Example Output:

gstack@server-12345:~$ cd ~/my-project
gstack@server-12345:~/my-project$
claude

Example Output:


Authentication successful!

Welcome to Claude Code (v2.1.186).
You are now in: /home/gstack/my-project

How can I help you with your code today?
(Type /help to see available commands)

gstack@server-12345:~/my-project $ claude>
/gstack
  1. Navigate to your code: Move into the directory that holds your project.
  2. Start the session: Just type:
  3. Verify available tools: Once the CLI is active, type /gstack to see the full menu of 23 specialized skills.

Keeping gstack Updated

Keep your setup on the newest features and fixes by running this inside your Claude Code session:

/gstack-upgrade

Or update manually:

cd ~/.claude/skills/gstack && git pull && ./setup --quiet

gstack Skills Reference Guide

Below is every skill you have access to for managing your project's development lifecycle.

Skill Purpose
/office-hours Product strategy and vision
/plan-eng-review Architecture and technical planning
/plan-design-review Design review and iteration
/qa Quality assurance and test generation
/qa-only Run QA without a broader context
/review Code review
/cso Security audit using OWASP and STRIDE
/ship Release management
/land-and-deploy Deploy to production
/design-html HTML/CSS design iteration
/document-generate Generate documentation
/browse Web browsing and research
/pair-agent Multi-agent browser collaboration
/gstack-upgrade Update gstack to the latest version

Additional Information and Examples

You can run cat /root/README.md to see more information and useful commands:
root@server-123456:~# cat /root/README.md
# gstack
## Description

gstack is an open-source AI-powered software factory that transforms Claude Code into a virtual engineering team. It provides 23 specialized slash command skills covering the complete software development lifecycle from product strategy and architecture review through quality assurance and release management. Created by Garry Tan (Y Combinator President and CEO), gstack implements a structured sprint methodology so individual developers can ship at the velocity of large teams.

The sprint cycle follows: Think, Plan, Build, Review, Test, Ship, and Reflect. Each skill feeds into the next, creating a continuous pipeline where design docs from office-hours automatically inform downstream planning phases and test matrices from engineering reviews guide QA workflows.

## Services

Service | Port | Purpose
--------|------|--------
OpenSSH | 22   | SSH access

Ports are protected using ufw.


## What Gets Installed

- Claude Code latest (global CLI: `@anthropic-ai/claude-code`)
- Bun runtime latest (JavaScript/TypeScript runtime required by gstack)
- gstack skills (23 specialized slash commands, source at `/home/gstack/.claude/skills/gstack`)
- Playwright Chromium (headless browser for the `/browse` and `/design-html` skills)
- Installed to: `/home/gstack/.claude/skills/gstack`
- Runs as user: `gstack`


## First Boot Behavior

- Cloud-init completes OS initialization
- All gstack skills and the browse binary are ready to use
- Claude Code requires authentication with an Anthropic API key before first use
- gstack is NOT auto-started; it runs interactively when you invoke `claude`


## First-Time Setup

1. SSH to the server as root
2. Switch to the gstack user session:
   ```
   machinectl shell gstack@
   ```
3. Authenticate Claude Code with your Anthropic API key:
   ```
   claude auth
   ```
   Alternatively, export your key directly:
   ```
   export ANTHROPIC_API_KEY=sk-ant-...
   ```
4. Navigate to your project directory and start a Claude Code session:
   ```
   cd ~/my-project
   claude
   ```
5. Type `/gstack` inside Claude Code to see all available skills


## Key Skills

Skill | Purpose
------|--------
`/office-hours` | Product strategy and vision
`/plan-eng-review` | Architecture and technical planning
`/plan-design-review` | Design review and iteration
`/qa` | Quality assurance and test generation
`/qa-only` | Run QA without broader context
`/review` | Code review
`/cso` | Security audit using OWASP and STRIDE
`/ship` | Release management
`/land-and-deploy` | Deploy to production
`/design-html` | HTML/CSS design iteration
`/document-generate` | Generate documentation
`/browse` | Web browsing and research
`/pair-agent` | Multi-agent browser collaboration
`/gstack-upgrade` | Update gstack to the latest version


## Updating gstack

Run the built-in upgrade skill from inside a Claude Code session:
```
/gstack-upgrade
```

Or update manually:
```
cd ~/.claude/skills/gstack && git pull && ./setup --quiet
```


## Firewall

UFW is enabled and allows:
- Port 22 (SSH, rate-limited)

All other inbound ports are blocked by default.


## File Locations

Location | Purpose
---------|--------
`/home/gstack/.claude/skills/gstack` | gstack source repository and compiled browse binary
`/home/gstack/.claude/skills/` | Registered Claude Code skills directory
`/home/gstack/.gstack/` | gstack global state and configuration
`/root/README.md` | This documentation (root user)
`/home/gstack/README.md` | This documentation (gstack user)
`/etc/motd.d/99-gstack` | Login message of the day


## Minimum Resources

Resource | Minimum | Recommended
---------|---------|------------
RAM      | 4 GB    | 8 GB
Disk     | 20 GB   | 30 GB
CPU      | 2       | 4


## Next Steps

After launching your image and connecting via SSH:

1. Switch to the gstack user: `machinectl shell gstack@`
2. Authenticate Claude Code: run `claude auth` and follow the prompts, or set `ANTHROPIC_API_KEY` in your shell
3. Navigate to your project: `cd ~/my-project`
4. Start a Claude Code session: `claude`
5. Explore available skills: type `/gstack` to see all 23 skills
6. Begin a sprint: start with `/office-hours` for product strategy or `/plan-eng-review` for technical architecture
7. Keep gstack current: run `/gstack-upgrade` periodically to pull the latest skills

A complete sprint workflow looks like:
```
/office-hours       -> define the feature
/plan-eng-review    -> validate the technical approach
/qa                 -> generate tests before building
/ship               -> release when done
```


## Links

Documentation: [https://github.com/garrytan/gstack](https://github.com/garrytan/gstack)

Community: [https://github.com/garrytan/gstack/discussions](https://github.com/garrytan/gstack/discussions)

Issues: [https://github.com/garrytan/gstack/issues](https://github.com/garrytan/gstack/issues)
root@server-646875:~# client_loop: send disconnect: Connection reset

Loading...