Flutter Version Manager

Save

Flutter Version Manager is a very important and the easiest way to manage multiple Flutter SDK Versions and Channels without going into the complete installation setup every-time, when we need to access some other version for our projects.

You may also check our Flutter app development page.

Here, we will be reading about the basic steps for installation of FVM on our system….

Steps for Installation of Flutter Version Manager

First step is to check that Flutter is installed or not on our system, in order to work on FVM. Run the following command on your terminal-

If the Flutter is already installed on your system, it will show us some common commands used in flutter.

In addition to this, if you want to know your Flutter version you can run the command

This command will return the exact version of Flutter and Dart installed on our system.

Now, in the next step we will have to activate FVM on our system, for that we will have to run the command

After running this command, it shows that FVM is activated but it still shows the warning …

Pub installs executables into $HOME/flutter/flutter/.pub-cache/bin, which is not on your path.

You can fix that by adding this to your shell’s config file (.bashrc, .bash_profile, etc.):

export PATH=”$PATH”:”$HOME/flutter/flutter/.pub-cache/bin”  .

In order to remove this warning, we have to run some more CLI Commands

Now, the warning will be removed, for verifying that FVM is now completely activated we will run the $echo PATH command which will give us the path for the same.

For installing the particular Flutter SDK Channel i.e. stable, master etc, you can run the command – fvm install ‘stable’

You can install the particular version of flutter SDK fvm install <version>

Now, you can create a New project in Flutter and can specify the Flutter SDK Version you want to use for that particular project.

Conclusion

In this blog, we have discussed about the basic steps for activating FVM on your system.

I hope it will help you in understanding the basic steps of FVM installation.

You can check out our other blogs in Flutter – https://mobikul.com/category/flutter/

Thank you for reading!!

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

css.php

We've bought a Shopware Extension which is a hybrid App, which we can now offer in the Google Play Store and the IOS App Store. I'am still impressed how fast and how sharp the support team leads us through every process of the App-Store clarification. Very fast and useful response.

Markus Walter

Markus Walter

Founder, Das Apartment Living

Talk to Sales

Global

Live Chat
Start a Project


    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home