-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: recommend installing binaries for pcli & pd #3442
Conversation
046bdd7
to
41e209b
Compare
41e209b
to
544e217
Compare
Updates the guide docs to prefer installing prebuilt binaries, linking out to instructions on compiling from source as an alternative. We also clarify that Windows is not a first-class build target. Closes #3320.
Reimplements the non-cargo, installed-path command invocations for both pcli and pd. This assumes that folks have installed the binaries from the release page. If folks want to compile from source, then they can use `cargo run` or `./target/release/<bin>` themselves. Refs #1976.
544e217
to
8ab04b9
Compare
extract it, and copy its contents to your `$PATH`. For example: | ||
|
||
``` | ||
curl -O -L https://github.com/penumbra-zone/penumbra/releases/download/{{ #include ../penumbra_version.md }}/pd-x86_64-unknown-linux-gnu.tar.xz |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The #include
helper is a dope trick and I'm glad we have it now: there's a single point of update to modify the version number across the whole guide.
curl -O -L https://github.com/penumbra-zone/penumbra/releases/download/{{ #include ../penumbra_version.md }}/pcli-x86_64-unknown-linux-gnu.tar.xz | ||
unxz pcli-x86_64-unknown-linux-gnu.tar.xz | ||
tar -xf pcli-x86_64-unknown-linux-gnu.tar | ||
sudo mv pcli-x86_64-unknown-linux-gnu/pcli /usr/local/bin/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: should we use a macOS arch for the pcli example? I think saying explicitly: "Make sure choose the correct platform for your machine" is good enough, but open to feedback.
Updates the guide docs to prefer installing prebuilt binaries, linking out to instructions on compiling from source as an alternative. We also clarify that Windows is not a first-class build target.
Closes #3320.