Skip to content
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

[installer] agave installer requires rustup but does not check for it #4651

Open
nickfrosty opened this issue Jan 27, 2025 · 0 comments · May be fixed by #4668
Open

[installer] agave installer requires rustup but does not check for it #4651

nickfrosty opened this issue Jan 27, 2025 · 0 comments · May be fixed by #4668

Comments

@nickfrosty
Copy link

Problem

The agave cli installer script ultimately requires Rustup to be installed on the user's system in order to link/name the platform tools as the solana toolchain on the user's system

If the user does not have rustup installed (like if they installed rust via brew install rust) the solana toolchain will not exist on their computer, and ultimately fail and result in errors like the following:

error: no such command: `+solana`

        Cargo does not handle `+toolchain` directives.
        Did you mean to invoke `cargo` through `rustup` instead?
  • using rustup command for platform tools here
  • see this issue here on the Anchor lang repo

Proposed Solution

  • add a check for rustup in the agave installer script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant