From Zero to Production in 30 Seconds
Follow these steps to initialize Foundry in any existing static project or scaffold a clean web application.
Step 1: Install the Binary
Run the installer script in your terminal:
Terminal
curl -fsSL https://get.foundry.dev | sh
Step 2: Interactive CLI Configurator
Toggle options below to dynamically generate your custom development or build command:
Generated Command
CLI Output
foundry dev --watch --minify
Pass options directly in the terminal or save to foundry.json.
Step 3: Recommended Project Structure
Foundry works with standard HTML/CSS directories:
Project Layout
my-project/
├── index.html # Entry HTML document
├── styles.css # Main design tokens & stylesheet
├── app.js # Client application logic
└── foundry.json # Optional configuration overrides