An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# carapace-selfupdate

Simple self-update mechanism to install nightly/stable releases.

[![asciicast](https://asciinema.org/a/692857.svg)](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)