-
Notifications
You must be signed in to change notification settings - Fork 873
Upgrading to 0.16.0 with Homebrew #2069
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
Comments
And there's this paragraph in the migration guide:
So, I think you're good to upgrade with brew and then follow the rest of the guide. |
Thanks! I was also curious about the steps after performing a The steps didn't work as expected for me but after understanding it all more, I set the following variables in my
This successfully updated my asdf from 0.15.x to 0.16.7 and maintained my data ✅ The only issue is that when I upgrade asdf in the future, I will need to update these variables. If anyone finds a better approach, let me know - thanks! Note: I have an M1 Macbook Pro so my homebrew's directories are configured for Apple silicon |
No problem! I'm just now setting up asdf myself, so I may be off base, but I think as long as you have So I think you just need something like: export PATH=/opt/homebrew/bin:$PATH # if you don't have this already
# Or more generically
# export PATH=$(brew --prefix)/bin:$PATH
export ASDF_DATA_DIR="$HOME/.asdf" # technically this line isn't needed if using the default of $HOME/.asdf
export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH" |
Ah thanks. Adding
When I open a new terminal session, I see this works as expected! ✅ |
How can we improve the documentation?
So I installed asdf locally using homebrew. Now I would like to upgrade to the latest asdf but I keep seeing this message:
When I view the migration guide, I see that it instructs me to download the latest release from the Github releases page. But it's unclear to me whether I should do this even if I downloaded asdf via homebrew initially. Can someone clarify whether I should follow this step in the migration guide or whether I should ugrade asdf via
brew upgrade asdf
? Also, can the documentation be updated to take note of which steps to take depending on how asdf was initially installed (i.e. via package manager such as homebrew)? Thanks!The text was updated successfully, but these errors were encountered: