Update shiv binary from a distribution URL
stack update [OPTIONS][Placeholder: Add detailed description of how the update command checks for and installs updates to the stack tool itself]
| Option | Type | Description | Default |
|---|---|---|---|
--check-only |
FLAG | Only check for updates, don't install | False |
--distribution-url |
TEXT | The distribution URL to check | From config or GitHub releases |
Default: https://github.com/bozemanpass/stack/releases/latest/download/stack
- Check current version
- Query distribution URL for latest version
- Compare versions
- Download new version if available
- Replace current binary
- Verify installation
# Check for updates and install if available
stack update
# Only check for updates (don't install)
stack update --check-only
# Update from custom distribution
stack update --distribution-url https://myrepo.example.com/stack/latest
# Configure custom distribution URL
stack config set distribution-url https://myrepo.example.com/stack/latest
stack updateTo check current version:
stack version[Placeholder: Add information about automatic update checks if implemented]
- stack version - Print tool version
- stack config - Manage configuration settings