Skip to content

komac: add page #16876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jun 18, 2025
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions pages/common/komac.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# komac

> Create WinGet manifests for the winget-pkgs repository.
> More information: <https://github.com/russellbanks/Komac>.

- Create a new package from scratch:

`komac new {{Package.Identifier}} --version {{1.2.3}} --urls {{https://example.com/app.exe}}`

- Update an existing package with a new version:

`komac update {{Package.Identifier}} --version {{1.2.3}} --urls {{https://example.com/app.exe}}`

- Update a package with multiple URLs and automatically submit:

`komac update {{Package.Identifier}} --version {{1.2.3}} --urls {{https://example.com/app.exe}} {{https://example.com/app.msi}} --submit`

- Remove a version from winget-pkgs:

`komac remove {{Package.Identifier}} --version {{1.2.3}}`

- List all versions for a package:

`komac list-versions {{Package.Identifier}}`

- Sync your fork of winget-pkgs with the upstream repository:

`komac sync-fork`

- Update the stored GitHub token:

`komac token update --token {{your_github_token}}`

- Generate shell autocompletion script:

`komac complete {{bash|zsh|fish|powershell}}`