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

cli: Add ability to switch between anchor CLI versions #586

Closed
armaniferrante opened this issue Aug 7, 2021 · 4 comments · Fixed by #1385
Closed

cli: Add ability to switch between anchor CLI versions #586

armaniferrante opened this issue Aug 7, 2021 · 4 comments · Fixed by #1385
Assignees
Labels
help wanted Extra attention is needed

Comments

@armaniferrante
Copy link
Member

This is important for allowing many versions of verifiable builds, because if there's a breaking change in the Anchor.toml, then the CLI won't work. If there's a way to switch between anchor CLI versions, then one can easily produce verifiable builds regardless of the Anchor.toml version being used.

@armaniferrante armaniferrante added the help wanted Extra attention is needed label Aug 7, 2021
@paul-schaaf
Copy link
Contributor

there's also the option of having a separate installer / version manager do this. anchor-vm avm anchor-install ?

although im not experienced enough here to say whether that would be a better option

@tomlinton
Copy link
Contributor

I played around with this and was using a separate cli called avm. It can't be part of the standard anchor cli because you could switch to an earlier version before it was implemented and not be able to switch back.

@tomlinton
Copy link
Contributor

I got reasonably far with this so you can assign it to me if you haven't started work on it 👍

@armaniferrante
Copy link
Member Author

I got reasonably far with this so you can assign it to me if you haven't started work on it +1

Awesome thanks @tomlinton.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants