원클릭으로
install-cli
Install Pasture binaries (pastured, pasture, pasture-release) from GitHub Releases, go install, or Nix
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Install Pasture binaries (pastured, pasture, pasture-release) from GitHub Releases, go install, or Nix
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Pasture protocol reference documentation — 12-phase workflow, agent roles, constraints, and coding standards. Read when you need to understand the full workflow or look up conventions.
Create handoff document and transfer to supervisor
Create PROPOSAL-N task with full technical plan
Ratify proposal, mark old proposals pasture:superseded
Spawn 3 axis-specific reviewers (A/B/C)
Specification writer and implementation designer
| name | install-cli |
| description | Install Pasture binaries (pastured, pasture, pasture-release) from GitHub Releases, go install, or Nix |
Claude Code skill for automated Pasture binary installation.
Invoke via Claude Code:
/pasture:install-cli
The skill performs the following steps in order:
OS=$(uname -s | tr '[:upper:]' '[:lower:]') # linux or darwin
ARCH=$(uname -m) # x86_64, aarch64, or arm64
Map ARCH to Go-style suffix:
x86_64 → amd64aarch64 → arm64arm64 → arm64Compose the binary suffix: ${OS}-${ARCH} (e.g. linux-amd64, darwin-arm64).
TAG=$(gh api repos/dayvidpham/pasture/releases/latest --jq '.tag_name')
Requires the GitHub CLI (gh) to be authenticated. If unavailable, fall back to
curl:
TAG=$(curl -fsSL https://api.github.com/repos/dayvidpham/pasture/releases/latest \
| python3 -c "import sys,json; print(json.load(sys.stdin)['tag_name'])")
SUFFIX="${OS}-${ARCH}"
BASE_URL="https://github.com/dayvidpham/pasture/releases/download/${TAG}"
INSTALL_DIR="${HOME}/.local/bin"
mkdir -p "${INSTALL_DIR}"
for cmd in pastured pasture pasture-release; do
curl -fsSL "${BASE_URL}/${cmd}-${SUFFIX}" -o "${INSTALL_DIR}/${cmd}"
chmod +x "${INSTALL_DIR}/${cmd}"
done
pastured --version
pasture --version
pasture-release --version
If ~/.local/bin is not in PATH, the skill should print a reminder:
Add ~/.local/bin to your PATH:
export PATH="$HOME/.local/bin:$PATH"
If GitHub Releases are unavailable (network restriction, air-gapped environment, or the repository is not yet public), install from source with Go:
go install github.com/dayvidpham/pasture/cmd/pastured@latest
go install github.com/dayvidpham/pasture/cmd/pasture@latest
go install github.com/dayvidpham/pasture/cmd/pasture-release@latest
Requires Go 1.24+ and access to the Go module proxy (proxy.golang.org).
The retired message CLI is folded into pasture: use pasture task ... for task
CRUD, pasture migrate for schema upgrades, and the pasture epoch, pasture phase, pasture signal, pasture query, pasture session, and pasture slice
verbs for durable workflow control.
If a Nix-enabled system is available:
nix profile install github:dayvidpham/pasture#pastured
nix profile install github:dayvidpham/pasture#pasture
nix profile install github:dayvidpham/pasture#pasture-release
# or install all at once:
nix profile install github:dayvidpham/pasture
| OS | Architecture | Binary suffix |
|---|---|---|
| Linux | x86-64 | linux-amd64 |
| Linux | ARM64 | linux-arm64 |
| macOS | x86-64 | darwin-amd64 |
| macOS | Apple M* | darwin-arm64 |
| Symptom | Cause | Fix |
|---|---|---|
permission denied on download | Insufficient write perms to ~/.local/bin | mkdir -p ~/.local/bin && chmod 755 ~/.local/bin |
pastured: command not found after install | ~/.local/bin not in PATH | Add to shell profile: export PATH="$HOME/.local/bin:$PATH" |
gh: command not found | GitHub CLI not installed | Use the curl fallback or install gh from https://cli.github.com |
| Wrong binary (SIGILL / exec format error) | Wrong platform suffix detected | Verify uname -s and uname -m output match a supported platform |