Skip to content
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

Periodically check for updates #73

Open
line-o opened this issue Jan 14, 2023 · 0 comments
Open

Periodically check for updates #73

line-o opened this issue Jan 14, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@line-o
Copy link
Member

line-o commented Jan 14, 2023

As for all packages that are globally installed command line utilities, it is easy for users to miss out on updates.
This is why many of them, like npm for example, incorporate periodic update checks and display a message on the command line starting that a new version is available and how to update the package.
I found three packages doing this

Conveniently, the check-kit readme contains a comparison table including all three of them.

update-notifier is by far the most used one with several thousand dependents. The real downside is that it will create and display the notification by itself whereas check-kit and update-check both allow to craft the message to your own liking. On the other hand the notification from update-notifier is well-known and understood and safely be considered production ready.

@line-o line-o added enhancement New feature or request question Further information is requested labels Jan 16, 2023
@line-o line-o self-assigned this Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant