Skip to content

[BUG] How to upgrade fvm flutter? #1023

@i11010520

Description

@i11010520
[N] at 23:19:19 ❯ fvm doctor
FVM Doctor:                                                                                                                          
-------------------------------------------------------------------------------------------------------------------------------------
Project:
┌─────────────────────────────┬────────────────┐
│ Project                     │ work           │
├─────────────────────────────┼────────────────┤
│ Directory                   │ /Users/work    │
├─────────────────────────────┼────────────────┤
│ Active Flavor               │ None           │
├─────────────────────────────┼────────────────┤
│ Is Flutter Project          │ No             │
├─────────────────────────────┼────────────────┤
│ Dart Tool Generator Version │ Not available  │
├─────────────────────────────┼────────────────┤
│ Dart tool version           │ Not available  │
├─────────────────────────────┼────────────────┤
│ .gitignore Present          │ No             │
├─────────────────────────────┼────────────────┤
│ Config Present              │ No             │
├─────────────────────────────┼────────────────┤
│ Pinned Version              │ None           │
├─────────────────────────────┼────────────────┤
│ Config path                 │ .fvmrc         │
├─────────────────────────────┼────────────────┤
│ Local cache dir             │ .fvm/versions  │
├─────────────────────────────┼────────────────┤
│ Version symlink             │ .fvm/versions  │
└─────────────────────────────┴────────────────┘


IDEs:
┌────────────────────────────────┬─────────────────────────────────────────────────────┐
│ IDEs                           │ Value                                               │
├────────────────────────────────┼─────────────────────────────────────────────────────┤
│ VSCode                         │                                                     │
├────────────────────────────────┼─────────────────────────────────────────────────────┤
│ VSCode                         │ No .vscode directory found                          │
├────────────────────────────────┼─────────────────────────────────────────────────────┤
│ IntelliJ (Android Studio, ...) │                                                     │
├────────────────────────────────┼─────────────────────────────────────────────────────┤
│ IntelliJ (Android Studio, ...) │ No local.properties file found in android directory │
├────────────────────────────────┼─────────────────────────────────────────────────────┤
│ IntelliJ (Android Studio, ...) │ No .idea folder found                               │
└────────────────────────────────┴─────────────────────────────────────────────────────┘

Environment:
┌───────────────────────┬────────────────────────────────────────┐
│ Environment Variables │ Value                                  │
├───────────────────────┼────────────────────────────────────────┤
│ Flutter PATH          │ /Users/work/fvm/default/bin/flutter │
├───────────────────────┼────────────────────────────────────────┤
│ Dart PATH             │ /Users/work/fvm/default/bin/dart    │
├───────────────────────┼────────────────────────────────────────┤
│ FVM_CACHE_PATH        │ N/A                                    │
├───────────────────────┼────────────────────────────────────────┤
│ FVM_USE_GIT_CACHE     │ N/A                                    │
├───────────────────────┼────────────────────────────────────────┤
│ FVM_GIT_CACHE_PATH    │ N/A                                    │
├───────────────────────┼────────────────────────────────────────┤
│ FVM_FLUTTER_URL       │ N/A                                    │
└───────────────────────┴────────────────────────────────────────┘
┌──────────────┬──────────────────────────────────────────────────────────────────┐
│ Platform     │ Value                                                            │
├──────────────┼──────────────────────────────────────────────────────────────────┤
│ OS           │ macos Version 26.3.1 (Build 25D2128)                             │
├──────────────┼──────────────────────────────────────────────────────────────────┤
│ Dart Locale  │ zh-Hans-CN                                                       │
├──────────────┼──────────────────────────────────────────────────────────────────┤
│ Dart runtime │ 3.11.0 (stable) (Mon Feb 9 00:38:07 2026 -0800) on "macos_arm64" │
└──────────────┴──────────────────────────────────────────────────────────────────┘
[N] at 23:19:20 ❯ fvm flutter upgrade

Your flutter checkout has local changes that would be erased by upgrading. If you want to keep these changes, it is recommended that you stash them via "git stash" or else commit the changes to a local branch. If it is okay to remove local changes, then re-run this command with "--force".

Is it normal?
What is the right way to upgrade flutter installed by fvm?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions