Quickstart
Welcome to PyWire! This guide will help you set up your first project instantly using our scaffolding tools.
Create a project
Section titled “Create a project”Run one of these. They all launch the same interactive wizard, so pick whichever tool you already have.
With uv (recommended):
uvx create-pywire-appWith Node.js (installs uv for you if it’s missing):
npx create-pywire-appWith neither, the install script sets up uv and then launches the wizard:
curl -fsSL https://pywire.dev/install | shOn Windows, use PowerShell instead:
irm https://pywire.dev/install.ps1 | iexThe wizard guides you through:
- Project Name: Naming your new application.
- Template Selection: Choosing a starter template (e.g., Counter, Blog, SaaS Starter).
- Routing Style: Selecting between file-system based routing (like Svelte) or explicit routing (more like Flask/FastAPI).
- Configuration: Setting up Git, VS Code extensions, and more.
It then installs pywire into the new project. Once it finishes, move into the project directory:
cd my-pywire-appRunning the Development Server
Section titled “Running the Development Server”To start your application in development mode, use the pywire dev command. This starts a high-performance server with hot-reloading and a live TUI dashboard.
uv run pywire devYour app will be available at http://localhost:3000.
What’s Next?
Section titled “What’s Next?”- Check out the Introduction to understand the core philosophy.
- Build your first component in the Walkthrough.