Skip to content

Quick Start

curl -fsSL https://cli.kernstack.com | sh

Create a project — minimal hello-world function, or the full demo (web app, REST, GraphQL, tables, websockets, uploads, workers):

kernstack init
kernstack init --demo

init signs you in, asks for a project and environment name, and creates that directory with stack.json, SDKs, and a hosted git remote.

Deploy and develop:

cd my-project
kernstack plan      # preview changes
kernstack deploy    # apply; prints route URLs
kernstack serve     # run a function locally
kernstack logs      # tail logs

With --demo, open the published www URL after deploy.

Clone an existing project instead:

kernstack git clone <project-id>

Install to a custom directory with curl -fsSL https://cli.kernstack.com | INSTALL_DIR="$HOME/.local/bin" sh. Check with kernstack version.

Next: Concepts · IaC reference · CLI reference