Two halves
Every install lays down the same two things:
- The nushell package —
pkg/thinslice/: thesliceentry script,lib/*.nu(db, migrations, reporting, reconcile, workspace), andcommands/*.nu(use, give-me-a-port, cleanup, worktree, lifecycle, debug, setup, inspect, state). - The
give-me-a-portbinary — a native helper written in Zig, cross-compiled withzig buildfor x86_64 and aarch64 across linux-musl, macOS, and Windows.
Everything below is packaging and delivery around those two.
Build, sign, notarize
The pipeline runs on Forgejo Actions, triggered by a tag. It assembles the package and the per-platform binary into thinslice-<version>-<platform>.tar.gz (Unix) or .zip (Windows).
- macOS:
codesignwith the "Peoples Grocers LLC" Developer ID, then Apple notarization vianotarytool. The wait-and-staple step runs as a Temporal workflow. - Windows: Azure Trusted Signing via
signtool.
Distribution
- Archives uploaded via
download-page-kit. - Chocolatey (Windows): a nuspec that depends on
nushelland usesInstall-BinFileto putsliceon PATH. - CLI installer scripts:
thinslice-installer(POSIX) andthinslice-installer.ps1(PowerShell), plus aslice.cmdshim on Windows.
Where the graphical installer fits
The graphical installer does not replace the package — it wraps it. Double-clicking lays down the same pkg/thinslice payload and give-me-a-port binary, ensures nushell is present, and puts slice on PATH. It is signed and notarized (macOS) / signed (Windows) for the same Gatekeeper/SmartScreen reason the archives are: a non-technical user never hits the "unidentified developer" wall.
Artifacts per platform
| Platform | Artifact | Signed | Notarized | Install methods |
|---|---|---|---|---|
| macOS | .tar.gz, graphical installer | Yes (Developer ID) | Yes (notarytool) | CLI script, graphical installer |
| Windows | .zip, graphical installer | Yes (Azure Trusted Signing) | N/A | Chocolatey, PowerShell script, graphical installer |
| Linux | .tar.gz | No | N/A | CLI script |