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.
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.