news 2026/4/23 13:45:39

Windows Flutter fvm 多版本管理安装与常用指令(详细使用)

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
Windows Flutter fvm 多版本管理安装与常用指令(详细使用)
  • 以管理员身份打开PowerShell执行下面命令,安装好Chocolatey(choco)

    $ Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))

    验证安装成功

    $ choco -v
  • 然后按着 fvm 官方安装文档 进行安装,没几个步骤。

    测试是否安装成功

    $ fvm -v
  • 常用指令

    Global options: -h, --help Print this usage information. --verbose Print verbose output. -v, --version Print the current version. Available commands: api Provides JSON API access to FVM data for integrations and tooling config Configure global FVM settings and preferences dart Runs Dart commands using the project's configured Flutter SDK destroy Completely removes the FVM cache and all cached Flutter SDK versions doctor Shows detailed information about the FVM environment and project configuration exec Executes commands with the project's configured Flutter SDK in the environment flavor Executes Flutter commands using the SDK version configured for a specific project flavor flutter Runs Flutter commands using the project's configured SDK version fork Manage Flutter fork aliases global Sets a Flutter SDK version as the global default install Installs a Flutter SDK version and caches it for future use list Lists all Flutter SDK versions installed by FVM releases Lists all Flutter SDK releases available for installation remove Removes Flutter SDK versions from the cache spawn Executes Flutter commands using a specific SDK version use Sets the Flutter SDK version for the current project
版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/4/22 0:15:10

谷歌地图上的店铺地址写错了|修改后排名会掉吗?

​​修改正确地址本身不会导致排名下降​​。 谷歌明确鼓励商家更新准确信息,长期来看,修正地址能提升用户体验和搜索相关性,反而有利于排名。 但关键问题在于:许多商家因操作不当(如频繁修改、信息不一致&#xff09…

作者头像 李华
网站建设 2026/4/23 12:49:42

《算法竞赛从入门到国奖》算法基础:入门篇-差分

💡Yupureki:个人主页 ✨个人专栏:《C》 《算法》 🌸Yupureki🌸的简介: 目录 前言 1. 一维差分 算法原理 实操代码 2. 海底高铁 算法原理 实操代码 3. 二位差分 算法原理 实操代码 4. 地毯 算法原理 实操代码 前言 前缀和和差分的…

作者头像 李华
网站建设 2026/4/23 12:47:25

使用GParted给Ubuntu虚拟机扩充磁盘

起因是刚开始部署的虚拟机只分配了20g内存不够,再给他扩充20G还原CD/DVD挂载,重新启动虚拟机

作者头像 李华
网站建设 2026/4/23 1:24:33

88.9%定理证明通过率!DeepSeek-Prover-V2重构AI数学推理范式

88.9%定理证明通过率!DeepSeek-Prover-V2重构AI数学推理范式 【免费下载链接】DeepSeek-Prover-V2-7B 项目地址: https://ai.gitcode.com/hf_mirrors/deepseek-ai/DeepSeek-Prover-V2-7B 导语 2025年4月30日,深度求索(DeepSeek&…

作者头像 李华
网站建设 2026/4/21 19:33:05

Double Take人脸识别系统:一站式多引擎解决方案终极指南

Double Take人脸识别系统:一站式多引擎解决方案终极指南 【免费下载链接】double-take Unified UI and API for processing and training images for facial recognition. 项目地址: https://gitcode.com/gh_mirrors/dou/double-take 在人工智能技术飞速发展…

作者头像 李华