Getting Started
Deploy your first app to Hatch in under a minute.
1. Install the CLI
Install the Hatch CLI globally:
npm install -g @hatch/cliRequires Node.js 18 or later.
2. Log in
Authenticate the CLI with your Hatch account:
hatch loginThis opens your browser for authentication. Your session token is stored locally.
3. Create your app
Create a new Hatch app from your project directory:
hatch create myappThis creates the app on Hatch and outputs a git remote URL.
4. Add the git remote and deploy
Add Hatch as a git remote and push to deploy:
git remote add hatch <url-from-hatch-create>
git push hatch mainHatch auto-detects your framework, installs dependencies, builds, and deploys. You'll get a live URL within seconds.
5. Visit your app
After deployment completes, your app is live at:
https://myapp.gethatch.euEvery subsequent git push hatch main triggers a new deploy. Use hatch status to see your deployment details.
