| tags |
|
|---|
Install StructKit with pip:
pip install structkit!!! tip "Enable Auto-Completion" After installation, enable command-line auto-completion using static scripts generated by shtab. See the Command-Line Completion guide for per-shell instructions.
StructKit is published through the httpdss/homebrew-structkit tap (formula name: structkit). It is not a core Homebrew formula.
brew install httpdss/structkit/structkitEquivalent two-step form:
brew tap httpdss/structkit
brew install structkitstructkit --helpRun StructKit without installing, using Docker:
docker run -v $(pwd):/workdir -u $(id -u):$(id -g) ghcr.io/httpdss/structkit:main generate file:///workdir/examples/python-cli/.structkit.yaml /workdir/example_outputRefer to the Quick Start guide for more options.
Native .deb (Debian/Ubuntu) and .rpm (Fedora/RHEL) packages are attached to each GitHub Release starting with 3.3.1. The build-linux-packages workflow builds them on every published release (and on manual workflow_dispatch with a tag) and uploads them to that release. A SHA256SUMS file is published alongside the packages. The same files are also kept as Actions artifacts (90-day retention).
Asset names include the version and architecture, for example:
structkit_3.3.1_amd64.deb/structkit_3.3.1_arm64.debstructkit-3.3.1-1.x86_64.rpm/structkit-3.3.1-1.aarch64.rpm
Debian/Ubuntu (amd64):
curl -fsSL -o structkit_3.3.1_amd64.deb \
https://github.com/httpdss/structkit/releases/download/v3.3.1/structkit_3.3.1_amd64.deb
sudo apt install ./structkit_3.3.1_amd64.debFedora/RHEL (x86_64):
curl -fsSL -o structkit-3.3.1-1.x86_64.rpm \
https://github.com/httpdss/structkit/releases/download/v3.3.1/structkit-3.3.1-1.x86_64.rpm
sudo dnf install ./structkit-3.3.1-1.x86_64.rpmFor arm64, download structkit_3.3.1_arm64.deb or structkit-3.3.1-1.aarch64.rpm from the same release URL and install the local file the same way. Replace 3.3.1 / v3.3.1 with the version you want.
To build packages locally instead, follow packaging/README.md.
To run arbitrary StructKit commands in CI, install with httpdss/structkit-setup:
- uses: httpdss/structkit-setup@v0
- run: structkit listTo validate or generate as a dedicated step, call setup first, then httpdss/structkit-action. The action does not install StructKit itself:
- uses: httpdss/structkit-setup@v0
- uses: httpdss/structkit-action@v0
with:
command: validateSee GitHub Integration for full workflow examples.
Clone the repository and install locally. See the Development page for details.