以管理员身份打开
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
Windows Flutter fvm 多版本管理安装与常用指令(详细使用)
张小明
前端开发工程师
【Miracast 协议详解】
Miracast 协议详解 一、Miracast 概述 Miracast 基于 Wi‑Fi Display (WFD) 标准,用于将移动设备屏幕无线投射到显示设备。主要组件: Wi‑Fi Direct (P2P):建立直连RTSP:会话控制RTP/RTCP:音视频传输UIBC:用…
Windows美化革命:DWMBlurGlass打造个性化桌面体验
还在为Windows系统千篇一律的界面感到厌倦?DWMBlurGlass作为一款革命性的Windows美化工具,能够为你的桌面标题栏添加令人惊艳的透明和模糊特效,彻底改变你的数字工作环境。 【免费下载链接】DWMBlurGlass Add custom effect to global system…
免费查重软件有哪些?2025年最全评测与选择指南
在学术写作和内容创作过程中,查重是保障原创性的关键一步。对于预算有限的学生、研究者及广大作者而言,免费查重软件是进行初稿筛查和日常质检的实用工具。了解市面上有哪些可靠的免费选项,并掌握其特点与最佳使用场景,能帮助你在…
5分钟掌握DBeaver:一站式数据库管理工具让多平台数据库操作变得简单高效
你是否还在为管理MySQL、PostgreSQL、Oracle等多种数据库而烦恼?是否觉得每个数据库都需要不同的客户端工具太过麻烦?DBeaver作为一款开源的多平台数据库管理工具,通过统一的界面和强大的功能,让你轻松应对各种数据库操作需求。本…
重新定义编程字体体验:Intel One Mono 深度解析
重新定义编程字体体验:Intel One Mono 深度解析 【免费下载链接】intel-one-mono Intel One Mono font repository 项目地址: https://gitcode.com/gh_mirrors/in/intel-one-mono 当你凝视代码时,代码也在凝视着你。这种每日数小时的"对视&q…
vue环境配置教程
一、前言(重构价值定位 读者收益承诺) ✅ 适配版本(2024.10 实测无坑):Node.js 16.20.2 LTS(稳定王者)/ 18.19.0 LTS(Vite 5.x 最优解)、Vue CLI 5.0.8、Vite 5.1.4、V…