Home > OS >  How to install fvm on mac, i 've try but get error?
How to install fvm on mac, i 've try but get error?

Time:05-14

I can't install fvm on mac, getting error like this, what is wrong, it's about brew or fvm?

Error pict

CodePudding user response:

Brew is telling you that it can't find a formula for FVM.

Try this:

brew tap leoafarias/fvm

brew install fvm

Instructions here.

CodePudding user response:

As in the official documentation of fvm:

1. Standalone (Recommended)
You can download the standalone packages from the GitHub repo here.

2. Homebrew
If you use the Homebrew package manager for Mac OS X, you can install FVM by running

- Install

brew tap leoafarias/fvm
brew install fvm

- Uninstall

brew uninstall fvm
brew untap leoafarias/fvm

3. Pub package

You are able to also install FVM as a pub package.

dart pub global activate fvm

However if you plan on using FVM to manage your global Flutter install we recommend installing as a standalone.

  • Related