๐ Quick Start
๐ฆ Install
Downloads the latest pre-built binary for your platform (Linux x86_64/aarch64, macOS ARM).
The script installs the binary then prompts you to run fimod registry setup to configure the official mold catalog.
Options (environment variables):
| Variable | Default | Description |
|---|---|---|
FIMOD_VARIANT |
(full) | slim to exclude HTTP input and remote mold loading |
FIMOD_INSTALL |
/usr/local/bin |
Install directory (falls back to ~/.local/bin if not writable) |
FIMOD_VERSION |
latest | Pin a specific version (e.g. v0.2.1) |
Option 1 โ via ubi (no script, antivirus-friendly)
ubi is a universal binary installer available on winget (pre-installed on Windows 10/11):
# ๐ฆ 1. Install ubi (one-time, uses winget which is built into Windows)
winget install houseabsolute.ubi
# ๐ Then restart PowerShell so ubi is found in PATH
# โฌ๏ธ 2. Install fimod (classic โ includes HTTP support)
ubi --project pytgaen/fimod --matching "fimod-v" --in "$env:USERPROFILE\.local\bin"
# Or slim variant (no HTTP support, smaller binary)
# ubi --project pytgaen/fimod --matching "fimod-slim-v" --in "$env:USERPROFILE\.local\bin"
# ๐ค๏ธ 3. Add to PATH (if not already present)
$BinDir = "$env:USERPROFILE\.local\bin"
$UserPath = [Environment]::GetEnvironmentVariable('PATH', 'User')
if ($UserPath -notlike "*$BinDir*") {
[Environment]::SetEnvironmentVariable('PATH', "$BinDir;$UserPath", 'User')
$env:PATH = "$BinDir;$env:PATH"
}
# ๐๏ธ 4. Set up the official mold catalog
fimod registry setup
Option 2 โ PowerShell script (execution policy / antivirus may block)
โ ๏ธ If your antivirus blocks this script, use Option 1 (ubi) instead โ it downloads a signed binary directly from GitHub Releases with no script execution.
Download first, then run:
Invoke-RestMethod https://raw.githubusercontent.com/pytgaen/fimod/main/install.ps1 -OutFile "$env:TEMP\fimod-install.ps1"
& "$env:TEMP\fimod-install.ps1"
Same env var options: $env:FIMOD_VARIANT ยท $env:FIMOD_INSTALL ยท $env:FIMOD_VERSION
The script checks whether the install directory is in your PATH. If not, it displays the commands to add it โ copy and run them to make fimod available in new terminals.
๐ฏ First Try (Hello World)
Let's test fimod with a simple inline expression. Create a sample JSON file or pipe it in:
๏ฟฝ๏ธ Next steps
-
Quick Tour โ 5-minute showcase of features
-
Concepts โ pipeline, Monty, security model
-
Mold Scripting โ built-in helpers
-
CLI Reference โ all options and flags
-
Cookbook โ recipes for common tasks