https://github.com/carapace-sh/carapace-selfupdate
simple self-update mechanism
https://github.com/carapace-sh/carapace-selfupdate
carapace
Last synced: 2 months ago
JSON representation
simple self-update mechanism
- Host: GitHub
- URL: https://github.com/carapace-sh/carapace-selfupdate
- Owner: carapace-sh
- License: mit
- Created: 2024-11-16T11:25:17.000Z (6 months ago)
- Default Branch: master
- Last Pushed: 2025-02-17T19:13:51.000Z (3 months ago)
- Last Synced: 2025-02-17T20:24:58.862Z (3 months ago)
- Topics: carapace
- Language: Go
- Homepage:
- Size: 71.3 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# carapace-selfupdate
Simple self-update mechanism to install nightly/stable releases.
[](https://asciinema.org/a/692857)
Executable is installed to the [GOBIN] directory, essentially shadowing any system installation.
```sh
export PATH="$HOME/.local/bin:$HOME/go/bin:$PATH"
# │ │ └system installation (e.g. /usr/bin/carapace)
# │ └selfupdate/go based installation ($GOBIN)
# └user binaries
```## Requirements
- [curl] for downloads
- [PATH] containing the [GOBIN] directory[curl]:https://curl.se
[GOBIN]:https://pkg.go.dev/cmd/go#hdr-Compile_and_install_packages_and_dependencies
[PATH]:https://en.wikipedia.org/wiki/PATH_(variable)