Customize Consent Preferences

We use cookies to help you navigate efficiently and perform certain functions. You will find detailed information about all cookies under each consent category below.

The cookies that are categorized as "Necessary" are stored on your browser as they are essential for enabling the basic functionalities of the site. ... 

Always Active

Necessary cookies are required to enable the basic features of this site, such as providing secure log-in or adjusting your consent preferences. These cookies do not store any personally identifiable data.

No cookies to display.

Functional cookies help perform certain functionalities like sharing the content of the website on social media platforms, collecting feedback, and other third-party features.

No cookies to display.

Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics such as the number of visitors, bounce rate, traffic source, etc.

No cookies to display.

Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.

No cookies to display.

Advertisement cookies are used to provide visitors with customized advertisements based on the pages you visited previously and to analyze the effectiveness of the ad campaigns.

No cookies to display.

What is FVM? | How to install FVM in Ubuntu | How to install FVM in Mac

FVM

The full form of FVM is Flutter Version Management. To manage multiple versions of the Flutter SDK on single machine/laptop/system, we can use FVM, when we are handling multiple projects and projects running on multiple Flutter SDK versions , then we can use FVM.

Here are the steps to install FVM in Ubuntu/Mac

Step 1:  Open terminal and simply run below command or copy command from brew site, this will install brew in your machine (note : Skip this step , if Brew is already installed in your system).

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Press enter to continue

brew install in ubuntu

Step2: After installing brew run the below commands or Check terminal, same commands are available there also.

eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
sudo apt-get install build-essential
fvm install in ubuntu

Step 3: Then Run below command

brew tap leoafarias/fvm
fvm set up in ubuntu

Step 4: Then run FVM install command

brew install fvm

Step 5: Just run the below command to check successful installation of FVM in your system

fvm
check fvm install in ubuntu

Step 6 Now after this add Flutter SDK version through FVM, you can add multiple Flutter SDK version as per your projects requirement.

fvm install in linux

In this way you can add multiple version of Flutter SDK, Now after setup FVM, you can assign Flutter SDK to specific project through FVM

Navigate to your Flutter project directory and set the Flutter version for that project

$ cd /path/to/your/flutter/project
fvm use <version>
or 
fvm use 3.16.0

To check the currently used Flutter version in a project

fvm current

To check the currently used Flutter version in a project

fvm current

List all installed Flutter versions

fvm list

References:

https://fvm.app/

Leave a Reply

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

web_horizontal
About Us Disclaimer Privacy Policy Terms & Conditions Contact Us

Copyright © 2023 ResearchThinker.com. All rights reserved.