Quickstart
From nothing to a live URL in five commands.
1. Install the CLI
Section titled “1. Install the CLI”npm install -g @cloudgrid-io/cliRequires Node.js 18 or later. See Install for Homebrew and the MCP server. Verify:
grid --version2. Sign in
Section titled “2. Sign in”grid loginThis opens a browser for Google OAuth. Credentials are stored at
~/.cloudgrid/credentials. Confirm who you are:
grid whoami3. Create an app
Section titled “3. Create an app”grid new my-app --type staticThis scaffolds starter files locally and writes a cloudgrid.yaml. No server
entity exists yet — the first grid plug (next step) mints it on the grid and
writes the gitignored .cloudgrid/link.json that binds the folder to the entity.
Available templates: node, nextjs, python, static.
4. Plug it in
Section titled “4. Plug it in”cd my-appgrid pluggrid plug builds a container, deploys it, and prints the live URL:
my-app is live at https://my-app.your-grid.cloudgrid.ioEvery subsequent grid plug in the same folder rebuilds and updates the same
entity in place. The URL never changes.
5. Open it
Section titled “5. Open it”grid openOpens the live URL in your browser. Use grid open --print to print it instead.
Share a single file instead
Section titled “Share a single file instead”If you just want to share one artifact — an HTML page, a PDF, a deck — point
grid plug at the file and it publishes an inspiration:
grid plug ./q2-deck.pdfq2-deck is live at https://your-grid.cloudgrid.io/q2-deckNext steps
Section titled “Next steps”- Add a database, cache, or cron to your app — see Infrastructure needs.
- Control who can see it — see Visibility and sharing.
- Drive the grid from an AI assistant — see the MCP reference.
- Learn the full command set — see the CLI reference.