Buf plugin for the asdf version manager.
curl
- for downloading from upstream releases
Plugin:
$ asdf plugin-add buf https://github.com/truepay/asdf-buf
buf:
# Show all installable versions
$ asdf list all buf
# Install specific version
$ asdf install buf latest
# Set a version globally (in your ~/.tool-versions file)
$ asdf global buf 0.41.0
# Run buf
$ buf --version
0.41.0
Refer to upstream Buf documentation for usage instructions.
Check the asdf readme for more instructions on how to install & manage versions.
We are currently installing x86_64 binaries on M1 Macs. This can be fixed when the Buf team starts publishing arm64 builds. This is tracked by bufbuild/buf#316.
See LICENSE