Getting Started
Get up and running with Hot in minutes.
1. Install Hot
macOS / Linux
curl -fsSL https://get.hot.dev/install.sh | sh
This installs Hot for your user, without sudo: hot goes in ~/.local/bin
and its standard library and resources in ~/.local/share/hot. If
~/.local/bin isn't on your PATH, the installer adds it to your shell's
startup file, so open a new terminal before running hot.
To install Hot for every user of the machine instead, with the macOS or Debian package (this needs sudo):
curl -fsSL https://get.hot.dev/install.sh | sh -s -- --system
The installer installs for the whole machine on its own when it runs as root
(as in a Dockerfile), in CI, or when a package install of Hot is already on the
machine and you have no user install. --prefix <folder> installs for your user somewhere other than
~/.local.
To run Hot without installing it, as on a server, unpack a release archive from
GitHub and run hot from where it
lands. Hot finds db/, app/, and pkg/ beside the binary. With the binary
somewhere else, set HOT_HOME to the unpacked folder.
Windows (PowerShell)
irm https://get.hot.dev/install.ps1 | iex
This installs Hot for your user, without administrator rights, in
%LOCALAPPDATA%\Programs\Hot Dev, and adds it to your user PATH. Open a new
terminal before running hot.
To install Hot for every user of the machine instead, in Program Files (this asks for administrator rights):
$env:HOT_INSTALL_SCOPE = "system"; irm https://get.hot.dev/install.ps1 | iex
The installer installs for the whole machine on its own in CI, or when Hot is
already installed in Program Files. Windows puts the machine PATH before the
user PATH, so if both are installed, the Program Files copy runs.
Homebrew
brew install hot-dev/hot/hot
Verify it works:
hot version
Already have Hot? Update to the latest version with
hot update. To install a specific release from an olderhotbinary, usecurl -fsSL https://get.hot.dev/install.sh | sh -s -- --version <version>. To remove Hot, see Uninstalling Hot.
2. Install Editor Extension
For syntax highlighting, autocomplete, and diagnostics, install the Hot extension:
- VS Code — Install from the VS Code Marketplace, or search for "Hot" by
hot-devin the Extensions panel (Cmd+Shift+X / Ctrl+Shift+X) - Cursor, Windsurf & other VS Code-compatible editors — Search for "Hot" by
hot-devin the Extensions panel (also on Open VSX)
Or install from the command line:
code --install-extension hot-dev.hot
3. Initialize
Hot is designed to live alongside your existing code. Add it to an existing project or start fresh:
# Add Hot to an existing project
cd my-app
hot init
# Or start a new project
hot init my-app
cd my-app
The project name comes from the directory name. hot init adds four things to the directory:
| What | Where | Purpose |
|---|---|---|
hot.hot | Project root | Configuration file |
.env.example | Project root | A sample .env, with an empty HOT_API_KEY |
hot/ | hot/src/, hot/test/ | Your Hot code |
.hot/ | .hot/ (gitignored) | Local data — cache, database, logs |
That's it. It also adds .hot/, hot/ctx.hot, hot/dev.key and .env to .gitignore. Your other files are untouched:
my-app/
├── src/ # Your existing code
├── package.json # Your existing config
├── hot.hot # Hot config (project root)
├── .env.example # Sample environment file
├── hot/ # Hot code goes here
│ ├── src/
│ │ └── my-app/
│ │ └── hi.hot # Your first Hot file (it's a tutorial!)
│ └── test/
│ └── my-app/
└── .hot/ # Local data — cache, db, logs (gitignored)
The project name (my-app) becomes your root namespace. All functions live under ::my-app::*.
4. Add AI Coding Support (Optional)
From inside your project directory, add Hot language support if you use an AI coding assistant:
hot ai add # Add AGENTS.md + skills to project
hot ai add --global # Install skills in your home folder (available in all projects)
This creates an AGENTS.md file and installs the skills bundled with your Hot
release under .agents/skills/ and .claude/skills/. Current bundles include Hot language guidance and may
include specialized guidance such as Hot AI agents and SDK integrations. Works
with Cursor, Claude Code, GitHub Copilot, Windsurf, and many other AI coding
tools.
hot ai add uses the skill snapshots bundled with your installed Hot release;
use hot ai list to see that version's catalog. If you prefer the latest public
skills through the skills.sh ecosystem, run
npx skills add hot-dev/hot-skills.
See AI Coding Assistants for project and global setup, validation, troubleshooting, and LLM-readable documentation.
5. Start Hot Dev
hot dev
This starts the development server with:
- App at http://localhost:4680 — monitor runs, events, and streams
- API at http://localhost:4681 — HTTP API, webhooks, and MCP endpoints
- Scheduler — executes your scheduled functions
- Worker — processes events
- Task Worker — executes background tasks and Hot Box containers
Open the app and watch things happen! The hi.hot file includes a scheduled function that runs every minute.
Tip: Use
hot dev --opento automatically open the dashboard in your browser. You can also sethot.dev.open truein yourhot.hotconfig to always open on start.
6. Run Some Code
Open another terminal and try:
# Call a function
hot eval '::my-app::hi/hello()'
# Call with arguments
hot eval '::my-app::hi/check-heat(42)'
# This one fails! (7 is divisible by 7)
hot eval '::my-app::hi/check-heat(7)'
# Trigger an event (hi.hot has a handler for this)
hot eval 'send("hot-take", {num: 42})'
Check the dashboard to see your runs and events.
7. Learn from hi.hot
Open hot/src/my-app/hi.hot in your editor—it's a complete tutorial covering:
- Functions — basic definitions, arguments, and types
- Flows —
cond,parallel, and pipes (|>) - Result handling — using
matchonResult.OkandResult.Err - Schedules — functions that run on a timer
- Events — handlers that respond to events
Edit the file and Hot Dev reloads automatically. Experiment!
Deploy to Hot Cloud
When you're ready to go live, deploy to Hot Cloud with a single command.
Get a Hot API Key
- Go to app.hot.dev and sign in (or create an account)
- Open API Keys in the sidebar (app.hot.dev/keys)
- Click Create API Key and copy the key
- Set your API key in your environment:
export HOT_API_KEY=your-api-key
Or store it in a .env file in your project root.
Deploy
hot deploy
This builds your project and deploys it to Hot Cloud. Your workflows, schedules, and event handlers will now run in production.
Automate it: Use the Hot GitHub Action to deploy on every push to
main.
Next Steps
- Hot Chat demo — run a complete AI chat product on Hot in 15 minutes
- Hot Language — dive deeper into syntax and concepts
- Standard Library — explore available functions
- Events & Handlers — build event-driven workflows
- MCP Services — expose functions as tools for AI agents
- Webhooks — receive HTTP requests from external services
- CI/CD — automate testing and deployment with GitHub Actions