Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kallyup

Kallyup is the KLC-first bootstrapper for Kalcite. Its profile policy is compiled from src/kallyup_core.klc; Rust is restricted to host actions that KLC cannot yet safely perform: starting Cargo/Git processes and installing binaries.

cargo install --git https://github.com/Kalcite-Engine/kallyup.git
kallyup list
kallyup install minimal
kallyup install developer --root "$HOME/.local"
kallyup install full
# Nix: keep checkouts and the Nix profile in a location you control
kallyup install developer --nix --flakes "$HOME/.local/share/kalcite-flakes"

Profiles are minimal (Kalcite + Kally), developer (+ LSP), and full (+ editor). Kallyup never requests privilege escalation or edits PATH; it prints the required path action after installation.

One-command bootstrap

The launchers install their host requirements when possible (Git, a native C build toolchain, Rustup and Cargo), install or update Kallyup, then run it. Pass the normal Kallyup command after the script; omitting it displays the available profiles.

# Linux and macOS
curl -fsSL https://raw.githubusercontent.com/Kalcite-Engine/kallyup/main/scripts/kallyup-bootstrap.sh | sh -s -- install developer
# Windows PowerShell: install the developer profile in the current session
irm https://raw.githubusercontent.com/Kalcite-Engine/kallyup/main/scripts/kallyup-bootstrap.ps1 | iex; kallyup install developer

Replace developer with minimal or full to select another profile. Linux package managers supported by the shell launcher are APT, DNF, Pacman, and Zypper. On NixOS, the launcher installs Cargo, Rust, Git, Curl, a compiler and pkg-config into the user's Nix profile instead of using Rustup or a mutable system package manager. On macOS, Apple requires the Command Line Tools dialog to be completed once before the script can continue.

Nix profiles

Use Nix mode to keep the selected repositories' flakes and the resulting Nix profile in a directory you choose:

kallyup install full --nix --flakes "$HOME/.local/share/kalcite-flakes"

Kallyup clones the selected source repositories into that directory and creates the profile at DIR/profile; add DIR/profile/bin to PATH. Before it runs nix profile install, Kallyup asks whether it should refresh every flake input with nix flake update. Answering no preserves the existing locked inputs. For automation, pass --refresh-flakes or --no-refresh-flakes explicitly. Nix itself must already be installed.

Platform notes

Kallyup runs anywhere Cargo and Git are available: Windows, macOS, Linux, and Nix environments. It installs each component from its main Git branch. Use --root DIR for a user-managed location; add DIR/bin to PATH afterwards. For reproducible releases, use the platform packages or Nix flakes documented in the Kalcite workspace installation guide.

About

KLC-first bootstrapper for the Kalcite toolchain

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages