Quickstart
Welcome to PyWire! This guide will help you set up your first project instantly using our scaffolding tools.
The Fastest Way: create-pywire-app
Section titled “The Fastest Way: create-pywire-app”The easiest way to start a new project is using uvx to run our interactive scaffolding tool.
uvx create-pywire-appThis command will launch an interactive wizard that 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.
Once the setup is complete, navigate into your new project directory:
cd my-pywire-appInstallation Scripts
Section titled “Installation Scripts”If you don’t have uv installed yet, you can use our automated installation scripts to set up everything for you.
macOS / Linux
Section titled “macOS / Linux”curl -fsSL pywire.dev/install | shWindows (PowerShell)
Section titled “Windows (PowerShell)”irm pywire.dev/install.ps1 | iexRunning 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.
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.