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 use' doesn't change the AVM version #2952

Closed
ilyukou opened this issue May 8, 2024 · 2 comments
Closed

'avm use' doesn't change the AVM version #2952

ilyukou opened this issue May 8, 2024 · 2 comments

Comments

@ilyukou
Copy link

ilyukou commented May 8, 2024

I'm facing the problem when avm use doesn't change avm version. Here is the logs from the terminal:

ilyailyukou@Ilyas-MacBook-Pro ~ % avm list             
0.11.0
0.11.1
0.12.0
0.13.0
0.13.1
0.13.2
0.14.0
0.15.0
0.16.0
0.16.1
0.16.2
0.17.0
0.18.0
0.18.2
0.19.0
0.20.0
0.20.1
0.21.0
0.22.0
0.22.1
0.23.0
0.24.0
0.24.1
0.24.2
0.25.0
0.26.0
0.27.0
0.28.0	(installed, current)
0.29.0	(installed)
0.30.0	(latest)
ilyailyukou@Ilyas-MacBook-Pro ~ % avm --version
avm 0.30.0
ilyailyukou@Ilyas-MacBook-Pro ~ % anchor --version
anchor-cli 0.28.0
ilyailyukou@Ilyas-MacBook-Pro ~ % avm use 0.29.0
Now using anchor version 0.29.0.
ilyailyukou@Ilyas-MacBook-Pro ~ % anchor --version
anchor-cli 0.29.0
ilyailyukou@Ilyas-MacBook-Pro ~ % avm --version   
avm 0.30.0
ilyailyukou@Ilyas-MacBook-Pro ~ % 
@acheroncrypto
Copy link
Collaborator

This is the intended behavior. Why do you need to change avm version? The latest should generally work the best.

@hammad-ali18
Copy link

hammad-ali18 commented May 20, 2024

Open termial install anchor using avm

cargo install --git https://github.com/coral-xyz/anchor avm --locked --force

avm install {version}
avm use {version}

hint: use version 0.29.0

@ilyukou ilyukou closed this as completed May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants