## Installation
### Quick Install
Install the latest release:
```bash
Or run without installation:
```bash
# Pass arguments to kugiri (use -s -- to pass arguments)
### Install Specific Version
```bash
VERSION="<VERSION>"
### Secure Installation with Verification
For enhanced security, verify the installation scripts before executing them.
<details>
<summary><b>🔒 Verify latest version with Cosign</b></summary>
```bash
SCRIPT="install.sh" # or "run.sh"
DOWNLOAD_URL="https://github.com/actionutils/kugiri/releases/latest/download"
curl -sL "${DOWNLOAD_URL}/${SCRIPT}" | \
(tmpfile=$(mktemp); cat > "$tmpfile"; \
cosign verify-blob \
--certificate-identity-regexp '^https://github.com/actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml@.*$' \
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
--certificate "${DOWNLOAD_URL}/${SCRIPT}.pem" \
--signature "${DOWNLOAD_URL}/${SCRIPT}.sig" \
"$tmpfile" && \
sh "$tmpfile"; rm -f "$tmpfile")
```
</details>
<details>
<summary><b>🔒 Verify specific version with Cosign</b></summary>
```bash
VERSION="<VERSION>"
SCRIPT="install.sh" # or "run.sh"
DOWNLOAD_URL="https://github.com/actionutils/kugiri/releases/download/${VERSION}"
curl -sL "${DOWNLOAD_URL}/${SCRIPT}" | \
(tmpfile=$(mktemp); cat > "$tmpfile"; \
cosign verify-blob \
--certificate-identity-regexp '^https://github.com/actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml@.*$' \
--certificate-oidc-issuer 'https://token.actions.githubusercontent.com' \
--certificate "${DOWNLOAD_URL}/${SCRIPT}.pem" \
--signature "${DOWNLOAD_URL}/${SCRIPT}.sig" \
"$tmpfile" && \
sh "$tmpfile"; rm -f "$tmpfile")
```
</details>
<details>
<summary><b>🔒 Verify latest version with GitHub CLI</b></summary>
```bash
gh attestation verify --repo=actionutils/kugiri \
--signer-workflow='actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml' \
"$tmpfile" && \
sh "$tmpfile"; rm -f "$tmpfile")
```
</details>
<details>
<summary><b>🔒 Verify specific version with GitHub CLI</b></summary>
```bash
VERSION="<VERSION>"
gh attestation verify --repo=actionutils/kugiri \
--signer-workflow='actionutils/trusted-go-releaser/.github/workflows/trusted-release-workflow.yml' \
"$tmpfile" && \
sh "$tmpfile"; rm -f "$tmpfile")
```
</details>
### Install from crates.io
If you have Rust and Cargo installed:
```bash
cargo install kugiri
```