Skip to content

feat(install): Chocolatey package for Windows #2772

Open

Description

@denis-peshkov

Summary

Windows users must manually download rtk-x86_64-pc-windows-msvc.zip from GitHub Releases, extract rtk.exe, and add it to PATH. macOS/Linux have Homebrew, install.sh, .deb/.rpm — Windows has no package manager path, which hurts adoption and onboarding.


Impact

Area Effect
Windows onboarding Manual zip + PATH — friction, easy to get wrong
Enterprise / dev machines No choco install — IT prefers Chocolatey
Parity with other OS Homebrew automated on release; Windows has no equivalent
Hooks / agents Unchanged — choco only installs the binary

Current behavior

# 1. Open https://github.com/rtk-ai/rtk/releases
# 2. Download rtk-x86_64-pc-windows-msvc.zip
# 3. Extract rtk.exe → C:\Users\<you>\.local\bin (or similar)
# 4. Add directory to PATH
rtk --version

Documented in README.md → Windows and docs/guide/getting-started/installation.md.


Expected behavior

choco install rtk
rtk --version
rtk init -g --agent cursor   # optional, after install
  • Package id: rtk
  • Binary from official GitHub Release for the packaged version
  • SHA256 verified (from checksums.txt on release)
  • Stable release CI packs and pushes when CHOCOLATEY_API_KEY is configured

Root cause

Source of truth

  • .github/workflows/release.yml — builds rtk-x86_64-pc-windows-msvc.zip, publishes with checksums.txt
  • homebrew job — automates tap update; no Chocolatey job
  • No packaging/chocolatey/ in repository

Cause → effect chain

Release pipeline produces Windows zip + checksums
        ↓
No Chocolatey nuspec / install script
        ↓
Users must manual download + PATH
        ↓
Higher drop-off on Windows vs brew install on macOS

Conclusion: artifact is ready; missing packaging + release automation layer.


Suggested direction

  • Add packaging/chocolatey/ (.nuspec, chocolateyinstall.ps1, chocolateyUninstall.ps1)
  • Portable package: download zip from https://github.com/rtk-ai/rtk/releases/download/v{version}/rtk-x86_64-pc-windows-msvc.zip
  • Mirror Homebrew release job: parse checksums.txt, patch checksum placeholder, choco pack, choco push
  • Document choco install rtk in installation guide
  • First submission: manual push + community moderation; then CI with CHOCOLATEY_API_KEY

Before / After

Before:

GitHub Releases → manual zip → PATH → rtk

After:

choco install rtk → rtk on PATH (shim)
# or still: manual zip from releases

Unchanged: WSL recommended for fullest hook experience; native Windows hook behavior; no MSI required.


Acceptance criteria

  • packaging/chocolatey/rtk.nuspec with id rtk
  • Install script downloads release zip and verifies SHA256
  • release.yml job: pack on stable release; push when CHOCOLATEY_API_KEY set
  • installation.md and README.md mention choco install rtk
  • Package approved on Chocolatey Community
  • CHOCOLATEY_API_KEY secret in upstream rtk-ai/rtk repo
  • Post-merge stable release publishes .nupkg successfully

Related

Activity

  1. added
    enhancement
    help wanted
    on Jul 1, 2026
  2. pszymkowiak commented on Jul 1, 2026

    @pszymkowiak
    Collaborator

    wshm · Automated triage by AI

    🔍 Automated Triage

    ✨ Category feature
    🟡 Priority medium
    🎯 Confidence 97%

    Summary

    Feature request to add a Chocolatey package for Windows to reduce manual installation friction; well-scoped with clear implementation path mirroring existing Homebrew automation.

    📁 Relevant files
    • .github/workflows/release.yml
    • packaging/chocolatey/rtk.nuspec
    • packaging/chocolatey/chocolateyinstall.ps1
    • docs/guide/getting-started/installation.md
    • README.md

    Triaged automatically by wshm · This is an automated analysis, not a human review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:cienhancementhelp wantedplatform:windowspriority:medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions