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

avm: Ask whether to install if the version is not installed with the use command #3230

Conversation

acheroncrypto
Copy link
Collaborator

Problem

Using avm use <VERSION> results in an error if the version is not already installed:

Version 0.30.0 is not installed, staying on version 0.30.1.
Error: You need to run 'avm install 0.30.0' to install it before using it.

Summary of changes

Ask the user whether to install the given version if the version is not already installed:

Version 0.30.0 is not installed. Would you like to install? [y/n]

Resolves #3229

Copy link

vercel bot commented Sep 6, 2024

@acheroncrypto is attempting to deploy a commit to the coral-xyz Team on Vercel.

A member of the Team first needs to authorize it.

@acheroncrypto acheroncrypto merged commit 1c0b213 into coral-xyz:master Sep 6, 2024
0 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[feature request] avm use should auto install the version if not already installed
1 participant