-
Notifications
You must be signed in to change notification settings - Fork 211
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
Allow global flutter binary #21
Comments
I believe that this can be achieved. There are 3 ways:
Of course, the project level is still valid, but you can use global to do this if you don't find it in the project. The global does not have to be fvm, it can be flutter, so you only need to use fvm to switch versions, and the flutter command can be used every where. |
My thinking on this is that is mostly not touching a flutter version in the machine. The last version of fvm allowed to switch globally but I did find that was overkill for some cases. We are using fvm within our business to switch to specific versions of our app sometimes to test a different channel to see if solved an issue or would be to make sure we attach a version that has been tested with the app. Attaching to the global is easy in the past I just used what’s as set as a path in .bash_profile. I am just not sure fvm should go down that route as that version of flutter will impact everything you run on flutter outside of fvm. I wonder if setting a default fvm version that you can set would be a work around for this |
@leoafarias I have this feature on my fork. If I do |
@davidmartos96 yes this would be great |
Hey @leoafarias
Dart implementation allow project specific version, which is cool, but to be honest, I still want global flutter version like go version. Right now I am just soft linking to /usr/local/bin, will be cool if you allow global linking and switch will cli as before.
Thx
The text was updated successfully, but these errors were encountered: