Skip to content

1.7.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Aug 03:50
5fa1ac1

declix-bash 1.7.0 (2025-08-03)

This is the 1.7.0 release of declix-bash - Bash script generator for declarative Linux system configuration.

Installation

Using Container (Recommended - No local installation required)

# Generate script using the official container
podman run --rm -v ./resources.pkl:/work/resources.pkl ghcr.io/declix/declix-bash:1.7.0 /work/resources.pkl > generated.sh

# Or use 'latest' tag
podman run --rm -v ./resources.pkl:/work/resources.pkl ghcr.io/declix/declix-bash:latest /work/resources.pkl > generated.sh

# Apply the generated configuration
bash generated.sh check   # Check what would change
bash generated.sh diff    # Show detailed differences
bash generated.sh apply   # Apply configuration

Download Single-File Release

# Download the script
curl -L -o declix-bash.sh https://github.com/declix/declix-bash/releases/download/1.7.0/declix-bash.sh
chmod +x declix-bash.sh

# Or with wget
wget https://github.com/declix/declix-bash/releases/download/1.7.0/declix-bash.sh
chmod +x declix-bash.sh

Usage Examples

# Using container (no pkl installation required)
podman run --rm -v ./resources.pkl:/work/resources.pkl ghcr.io/declix/declix-bash:1.7.0 /work/resources.pkl | bash -s apply

# Using downloaded script (requires pkl installed)
./declix-bash.sh resources.pkl | bash -s check
./declix-bash.sh resources.pkl | bash -s diff
./declix-bash.sh resources.pkl | bash -s apply

Requirements

For container usage: Only podman or docker

For single-file script:

  • pkl (Apple's configuration language) must be installed
  • sudo access for system modifications

Features

  • upgrade to pkl-declix 0.7.0 with Base64Content support (#18) (5fa1ac1)