Dev.to WebDev 🛠 Dev 👁 2 📖 2 min read

Practice Labs: From Install to Your First Flisk Service in Three Commands

practice.flisk.si teaches by running commands. Each lab has a task, a command that checks it, and the result to expect. It is free and MIT licensed, per its footer. There are two courses: AI engineering, and Flisk CLI. T

practice.flisk.si teaches by running commands. Each lab has a task, a command that checks it, and the result to expect. It is free and MIT licensed, per its footer. There are two courses: AI engineering, and Flisk CLI. This article walks the three Flisk CLI labs.

How a lab is laid out

Every lab page shows a level and a time, for example "beginner, 5 min", the steps, the command for each step, and an "Expected result". You can copy the command and run it yourself. A "Run in a pod" button runs it in a cloud pod, which needs a fleet key from signing in with GitHub. Keys stay in your browser tab and go only to fleet.flisk.si. A step passes when the command exits 0.

Lab 01: Is Flisk installed? (5 min)

You need Node.js 20 or newer. Docker Desktop, Colima or OrbStack is needed only for container stacks.

npm install -g @flisk-sh/flisk && flisk --version
flisk doctor

Expected: a version number prints, and every flisk doctor check passes. A failed check names what is missing and the command that installs it. The doctor checks Docker, Tilt, free ports and the current project.

Lab 02: Scaffold a project (8 min)

mkdir my-app && cd my-app
flisk project --yes

--yes accepts the defaults, so nothing asks you questions. Expected: Flisk says the project was created, and ls shows package.json, AGENTS.md and a services folder.

Lab 03: Add a backend resource (10 min)

A resource is one service. Flisk writes its service.json.

flisk resource api --type backend --stack pre-alpha --path services/pre-alpha/api --yes
flisk status

Expected: services/pre-alpha/api holds a service.json, and flisk status shows pre-alpha: 1 resource. Services stay stopped until you run flisk up pre-alpha.

That is a project Flisk can read, with one service in one stack, in three short labs.

The AI engineering course

The other course has five parts: talk to a model, give it knowledge, build the harness, make it reliable, deliver to a customer. Labs are numbered by part, such as 10-local-model and 13-tool-loop.

Lab 10 shows the style. It installs Ollama, pulls a small model (llama3.2 is about 2 GB), asks it one question, then calls the same model over HTTP at http://localhost:11434/v1/chat/completions.

Lab 12, "Pick a model with numbers", has you write five real tasks, run them on one local and two hosted models, score every answer from 1 to 5 without looking at the model name, and write a three-line DECISION.md.

Where to go next

learn.flisk.si has a Flisk docs question box that answers with the pages named. It also shows an Exam, which the page says is the next piece to be built and not open yet.

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.