Easier switching between different dfx versions #2711
Replies: 4 comments 3 replies
-
Problem with current implementation:
|
Beta Was this translation helpful? Give feedback.
-
I have a script that I use for switching/installing: https://github.com/dfinity/snsdemo/blob/main/bin/dfx-software-dfx-install The script does not change the way dfx is installed, it just copies an existing binary from the cache into the path, if available, else it downloads and installs as usual. One might see the script as a solution that makes minimal changes to the status quo. I believe a better solution would be for the dfx in the path to be a symlink to a specific version, so switching would be more lightweight, but that would mean that wiping the cache would delete the location where the actual binaries are currently stored. |
Beta Was this translation helpful? Give feedback.
-
Is this is approved in principle, with @peterpeterparker 's suggestions for the commands? What happens to the existing upgrade command? Does it become an alias of Do we need separate commands for |
Beta Was this translation helpful? Give feedback.
-
The dfx version manager is in beta / soft launch. |
Beta Was this translation helpful? Give feedback.
-
Discussing this forum thread.
Why?
What/How?
Note to self: internal ticket
Beta Was this translation helpful? Give feedback.
All reactions