START BUILDING
Your first experiment starts here.
Install NightFlow, connect a dataset, and get comfortable with the complete training workflow.
Install NightFlow
NightFlow runs on macOS (Apple silicon) and Linux, with Windows 11 support in beta. Install it with a single command, or use Homebrew on macOS.
| Platform | Architecture | Package |
|---|---|---|
| macOS | Apple silicon | DMG |
| Linux | x64 | Debian package / AppImage |
| Windows 11 (beta) | x64 | Installer (.exe) |
Install with one command (macOS & Linux)
The quickest path. This script downloads the right release for your OS and architecture, verifies its checksum, and installs it. On macOS it also clears the Gatekeeper quarantine flag on the app bundle; on Linux it installs the AppImage into ~/.local/bin with a desktop entry.
curl -fsSL https://raw.githubusercontent.com/Noctillio-Ai/NightFlow/main/install.sh | bashLinux: prefer the Debian package? Append -s -- --deb. Install a specific version with -s -- --version X.Y.Z.
Install on Windows 11 (beta)
Run this in PowerShell. The script downloads the latest Windows installer, verifies its checksum, and installs NightFlow.
irm https://raw.githubusercontent.com/Noctillio-Ai/NightFlow/main/install.ps1 | iexIt needs Windows 11 (build 22000 or later) on an x64 PC; the installer won’t run on Windows 10 or earlier. The installer isn’t code-signed yet, so SmartScreen may warn about it. Please report anything that breaks.
Install with Homebrew on macOS
The project also maintains a Homebrew cask. The cask requires macOS Ventura or later.
brew tap noctillio-ai/nightflow https://github.com/Noctillio-Ai/NightFlow.git
brew install --cask nightflowUpdating NightFlow
NightFlow checks GitHub for new releases and can update itself. When an update is available, click Update: the app downloads the matching release, closes, installs the new version, and relaunches automatically. Because updating quits the app, NightFlow asks first if a training run is active. If the update can’t run, the badge switches to Download and opens the release page instead. You can also re-run the one-command installer above at any time to move to the latest release.
Update a Homebrew installation
brew update
brew upgrade --cask nightflowPrepare your machine
Use a supported macOS, Linux or Windows 11 machine with enough memory and disk space for your dataset, environment, and checkpoints. A GPU is optional.
| Backend | What you need |
|---|---|
| CUDA | An NVIDIA GPU with a compatible driver. |
| Metal / MPS | A Mac with Apple silicon. |
| CPU | Nothing extra; any supported machine works, just more slowly. |
During the first Sync, NightFlow installs uv if it is missing, uses it to download Python 3.12, and builds a private environment with AutoTimm and PyTorch inside the project folder. Nothing on your system Python changes. This first setup needs network access.
Dataset paths must be accessible from the machine running the training process. Pretrained model weights may need to be downloaded before an offline workflow is possible.
Create your first project
Create a project
Click Create your first project (later, the + in the sidebar) and choose This machine. Name the project; its files go to ~/.nightflow/projects/<name>/ unless you pick another folder. Already have an export? Choose Import a project instead.
Choose your task and model category
Select classification, multi-label classification, detection, or segmentation. Choose a model category suited to your compute budget; start small while checking the workflow.
Connect your dataset
Set the dataset format, class count, and data paths. For CSV, enter the image-path and label-column headers, plus an image root if paths are relative. Review the project summary.
Connect and Sync
On the dashboard, press Connect, then Sync. The first Sync builds the Python environment and validates your dataset, which can take a few minutes. When the workspace banner reads Workspace ready, every readiness check has passed; a failing check turns the banner red and opens it. Until a project is connected and synced, the sidebar shows only Dashboard and Settings.
Train, then inspect
Press Start training (⌘ / Ctrl + Enter) after resolving validation errors. Follow progress, inspect evaluation metrics, and return to Experiments to compare runs. Use a small dataset for the first end-to-end check.
A small dataset to begin with
For image classification, arrange your images by split and class. Keep test images separate from training images so evaluation measures performance on unseen examples.
dataset/
train/
cat/
image_001.jpg
dog/
image_002.jpg
val/
cat/
dog/
test/
cat/
dog/Each class directory should contain the images for that class. Choose Folder format and point NightFlow to dataset/. Prefer CSV? See column mapping and examples.
Coming from another computer
To bring a project from another installation, export it there from Settings → Import / export. Use Full with Include dataset to carry the run files, models, and images together. On this computer, choose Import a project on the start screen. The import preview checks each dataset path and lets you point it at the right folder. Then Connect and Sync as usual. See Move a project to another computer.
Build from source
Developing NightFlow requires Node.js 22+, Rust stable with the 2024 edition, and the Tauri platform prerequisites. On macOS, install Xcode Command Line Tools. On Windows 11 (beta), install the Microsoft C++ Build Tools; WebView2 ships with Windows 11. On Debian/Ubuntu, install the system libraries below.
sudo apt-get update
sudo apt-get install -y libwebkit2gtk-4.1-dev libappindicator3-dev \
librsvg2-dev patchelf libgtk-3-dev libsoup-3.0-dev \
libjavascriptcoregtk-4.1-devgit clone https://github.com/Noctillio-Ai/NightFlow.git
cd NightFlow
npm install --legacy-peer-deps
npx tauri devFor production builds use npx tauri build. See the contribution guide for validation commands and project structure.