Installation & Quickstart
Creating an Astris application takes less than 30 seconds.
Prerequisites
Before creating your first Astris project, ensure you have the following installed:
- Python 3.11+ (Python 3.14 recommended, or install via
uv python install 3.14) - uv (recommended for ultra-fast Python package management):bash
# Windows (PowerShell) powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" # macOS & Linux curl -LsSf https://astral.sh/uv/install.sh | sh - Node.js version
^22.18.0or>=24.12.0(Node 24 LTS recommended) & npm.
Getting Started Using AI
If you build with AI coding assistants (such as Claude Code, Cursor, GitHub Copilot, Antigravity, or OpenCode), you can prime your agent with the official Astris playbook before writing your first line of code.
This equips your assistant with Astris's full-stack architecture, domain-driven conventions, and Orbit CLI commands. Paste this into your agent to get started:
I'm building a new Astris application.
Fetch and follow the instructions from https://astris.dev/for/agents. Treat the returned Markdown as the source of truth for how to install, set up, and develop with Astris in this session.After the agent reads the instructions, it will guide you step by step and keep the setup aligned with Astris's conventions and defaults.
Adding AI Skills to .gitignore
Feel free to add .agents/ and .claude/ to your application's .gitignore, as these files are automatically regenerated when running uv run orbit skills:install and uv run orbit skills:update.
Creating a New Project
Method 1: Zero-Install with uvx (Recommended)
Run astris new directly without pre-installing anything globally:
uvx --from astris-python astris new my_appMethod 2: Global CLI Installation
Install the astris CLI globally on your system:
# Install with uv tool
uv tool install astris-python
# Or with pipx
pipx install astris-pythonOnce installed globally, you can create new projects anytime:
astris new my_appFull-Stack Auth Included
Every Astris project comes pre-configured with a full-stack authentication system (Login, Registration, Argon2id Password Hashing, Session Guards, and Dashboard UI). If you want to scaffold a minimal project without authentication, pass --no-auth:
uvx --from astris-python astris new my_app --no-authRunning the Application
Navigate into your newly created project directory:
cd my_app1. Install Frontend Dependencies
npm install2. Start Full-Stack Development Server
uv run orbit serveAstris launches your FastAPI backend on http://localhost:8000 and concurrently starts the Vite Hot Module Replacement (HMR) server for Vue 3 and Tailwind CSS.
Open http://localhost:8000 in your browser!
Interactive API Documentation
Every Astris application automatically provides interactive OpenAPI documentation out of the box:
- Swagger UI:
http://localhost:8000/docs - ReDoc Schema:
http://localhost:8000/redoc
Next Steps
- Explore your project layout: Directory Structure.
- Learn about settings &
.env: Configuration.