Home

Awesome

asdf-buf

CI Lint

Buf plugin for the asdf version manager.

Contents

Plugin Dependencies

Install

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.

To do

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 https://github.com/bufbuild/buf/issues/316.

License

See LICENSE