Installation
Get FLIN running in under a minute.
One-Line Install
The fastest way to install FLIN on macOS or Linux:
$ curl -fsSL https://flin.sh | sh
Alternative: Cargo
If you have Rust installed, you can use Cargo:
cargo install flin-cli
Verify Installation
Check that FLIN is installed correctly:
$ flin --version
flin v0.9.1-alpha
Create Your First Project
Create a new FLIN project and start the development server:
$ flin new my-app
$ cd my-app
$ flin dev
# Server running at http://localhost:3000
Project Structure
A new FLIN project looks like this:
my-app/
├── app/
│ └── index.flin # Your main page
├── components/ # Reusable components
├── entities/ # Data models
├── public/ # Static assets
└── flin.config # Optional config
💡 Tip
You can also run the built-in sample apps immediately after installation. No project creation needed!
flin dev embedded/todo-app
CLI Commands
Common FLIN commands:
| Command | Description |
|---|---|
flin new <name> |
Create a new project |
flin dev |
Start dev server with hot reload |
flin build |
Build for production |
flin check |
Type check your code |
flin fmt |
Format your code |
flin help |
Show help and syntax reference |