Skip to content

feat: Support self-update #74

@l205306

Description

@l205306

Feature description

Idea is inspired by the update mechanism used in yt-dlp, which provides a simple CLI command to check and update to the latest release.

yt-dlp.exe -U

Current version: stable@2026.02.21 from yt-dlp/yt-dlp
Latest version: stable@2026.03.03 from yt-dlp/yt-dlp
Current Build Hash: 72a91fe064d5758c976e94f877c24369477dd3e395614b5b270dd5400a035ffa
Updating to stable@2026.03.03 from yt-dlp/yt-dlp ...
Updated yt-dlp to stable@2026.03.03 from yt-dlp/yt-dlp

Motivation

Currently, updating the CLI requires manually downloading the latest release from GitHub. It would be helpful if the CLI supported a built-in update command so it can update directly from the terminal.

Example option / flag:
-U --pre-release
-U --stable

Acknowledgements

  • I have checked all open and closed feature requests and this is not a duplicate.
  • I have chosen an appropriate title.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions