Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

75,050

Downloads of v 2.0.4:

95

Last Update:

07 May 2021

Package Maintainer(s):

Software Author(s):

  • leochocolatey

Tags:

fvm flutter versions sdk

fvm (Install)

This is not the latest version of fvm (Install) available.

  • 1
  • 2
  • 3

2.0.4 | Updated: 07 May 2021

Downloads:

75,050

Downloads of v 2.0.4:

95

Maintainer(s):

Software Author(s):

  • leochocolatey

fvm (Install) 2.0.4

This is not the latest version of fvm (Install) available.

  • 1
  • 2
  • 3

All Checks are Passing

3 Passing Tests


Validation Testing Passed


Verification Testing Passed

Details

Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

To install fvm (Install), run the following command from the command line or from PowerShell:

>

To upgrade fvm (Install), run the following command from the command line or from PowerShell:

>

To uninstall fvm (Install), run the following command from the command line or from PowerShell:

>

Deployment Method:

NOTE

This applies to both open source and commercial editions of Chocolatey.

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://community.chocolatey.org/api/v2/. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Copy Your Script

choco upgrade fvm -y --source="'INTERNAL REPO URL'" --version="'2.0.4'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade fvm -y --source="'INTERNAL REPO URL'" --version="'2.0.4'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Install fvm
  win_chocolatey:
    name: fvm
    version: '2.0.4'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'fvm' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '2.0.4'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller fvm
{
    Name     = "fvm"
    Version  = "2.0.4"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'fvm':
  ensure   => '2.0.4',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved by moderator flcdrg on 29 May 2021.

Description

FVM helps with the need for a consistent app builds by allowing to reference Flutter SDK version used on a per-project basis. It also allows you to have multiple Flutter versions installed to quickly validate and test upcoming Flutter releases with your apps, without waiting for Flutter installation every time.


tools\chocolateyInstall.ps1
$ToolsDir = (Split-Path -parent $MyInvocation.MyCommand.Definition)
Write-Host "Fetching Dart dependencies..."
$SourceDir = "$ToolsDir\source"
Push-Location -Path $SourceDir
pub get --no-precompile | Out-Null
Pop-Location

New-Item -Path $PackageFolder -Name "bin" -ItemType "directory" | Out-Null
Write-Host "Building executable..."
$ExePath = "$PackageFolder\bin\fvm.exe"
dart2native "-Dversion=2.0.4" "$SourceDir\bin\main.dart" -o $ExePath
Generate-BinFile "fvm" $ExePath
tools\chocolateyUninstall.ps1
Remove-BinFile "fvm" "$PackageFolder\bin\fvm.exe"
tools\LICENSE
 
tools\source\bin\main.dart
 
tools\source\lib\constants.dart
 
tools\source\lib\exceptions.dart
 
tools\source\lib\fvm.dart
 
tools\source\lib\src\commands\base_command.dart
 
tools\source\lib\src\commands\config_command.dart
 
tools\source\lib\src\commands\dart_command.dart
 
tools\source\lib\src\commands\doctor_command.dart
 
tools\source\lib\src\commands\flavor_command.dart
 
tools\source\lib\src\commands\flutter_command.dart
 
tools\source\lib\src\commands\git_cache_command.dart
 
tools\source\lib\src\commands\global_command.dart
 
tools\source\lib\src\commands\install_command.dart
 
tools\source\lib\src\commands\list_command.dart
 
tools\source\lib\src\commands\releases_command.dart
 
tools\source\lib\src\commands\remove_command.dart
 
tools\source\lib\src\commands\spawn_command.dart
 
tools\source\lib\src\commands\use_command.dart
 
tools\source\lib\src\models\cache_version_model.dart
 
tools\source\lib\src\models\config_model.dart
 
tools\source\lib\src\models\project_model.dart
 
tools\source\lib\src\models\settings_model.dart
 
tools\source\lib\src\models\valid_version_model.dart
 
tools\source\lib\src\runner.dart
 
tools\source\lib\src\services\cache_service.dart
 
tools\source\lib\src\services\config_service.dart
 
tools\source\lib\src\services\context.dart
 
tools\source\lib\src\services\flutter_tools.dart
 
tools\source\lib\src\services\git_tools.dart
 
tools\source\lib\src\services\project_service.dart
 
tools\source\lib\src\services\releases_service\current_release_parser.dart
 
tools\source\lib\src\services\releases_service\models\channels.model.dart
 
tools\source\lib\src\services\releases_service\models\flutter_releases.model.dart
 
tools\source\lib\src\services\releases_service\models\release.model.dart
 
tools\source\lib\src\services\releases_service\releases_client.dart
 
tools\source\lib\src\services\settings_service.dart
 
tools\source\lib\src\utils\commands.dart
 
tools\source\lib\src\utils\console_utils.dart
 
tools\source\lib\src\utils\fvm_client.dart
 
tools\source\lib\src\utils\guards.dart
 
tools\source\lib\src\utils\helpers.dart
 
tools\source\lib\src\utils\http.dart
 
tools\source\lib\src\utils\logger.dart
 
tools\source\lib\src\utils\matchers.dart
 
tools\source\lib\src\utils\messages.dart
 
tools\source\lib\src\utils\pretty_json.dart
 
tools\source\lib\src\utils\process_manager.dart
 
tools\source\lib\src\utils\pubdev.dart
 
tools\source\lib\src\version.dart
 
tools\source\lib\src\workflows\ensure_cache.workflow.dart
 
tools\source\lib\src\workflows\remove_version.workflow.dart
 
tools\source\lib\src\workflows\use_version.workflow.dart
 
tools\source\pubspec.lock
 
tools\source\pubspec.yaml
 
tools\VERIFICATION.txt
VERIFICATION
Verification is intended to assist the Chocolatey moderators and community
in verifying that this package's contents are trustworthy.

The executables in this package are built from source:

Repository: https://github.com/leoafarias/fvm
Tag: 2.0.4
Release URL: https://github.com/leoafarias/fvm/releases/tag/2.0.4

On the following environment:

* windows - "Windows Server 2019 Datacenter" 10.0 (Build 17763)
* Dart - 2.12.4 (stable) (Thu Apr 15 12:26:53 2021 +0200) on "windows_x64"

The following steps are used to build.
1. Install Dart (choco install dart-sdk --version 2.12.4)
2. git clone -b 2.0.4 https://github.com/leoafarias/fvm.git 
3. Get project dependencies (dart pub get) in project root
4. Install Grinder (dart pub global activate grinder)
5. grind pkg-chocolatey-pack
6. Go to build/chocolatey


Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status
fvm (Install) 3.1.2 173 Tuesday, March 26, 2024 Approved
fvm (Install) 3.1.1 611 Wednesday, March 20, 2024 Approved
fvm (Install) 3.1.0 155 Tuesday, March 19, 2024 Approved
fvm (Install) 3.0.14 571 Wednesday, March 13, 2024 Approved
fvm (Install) 3.0.13 884 Wednesday, March 6, 2024 Approved
fvm (Install) 3.0.12 1035 Tuesday, February 27, 2024 Approved
fvm (Install) 3.0.11 13 Saturday, February 24, 2024 Approved
fvm (Install) 3.0.10 443 Friday, February 23, 2024 Approved
fvm (Install) 3.0.9 73 Friday, February 23, 2024 Approved
fvm (Install) 3.0.8 115 Thursday, February 22, 2024 Approved
fvm (Install) 3.0.7 483 Monday, February 19, 2024 Approved
fvm (Install) 3.0.6 264 Friday, February 16, 2024 Approved
fvm (Install) 3.0.5 8 Friday, February 16, 2024 Approved
fvm (Install) 3.0.4 25 Friday, February 16, 2024 Approved
fvm (Install) 3.0.3 192 Wednesday, February 14, 2024 Approved
fvm (Install) 3.0.2 169 Tuesday, February 13, 2024 Approved
fvm (Install) 3.0.1 134 Monday, February 12, 2024 Approved
fvm (Install) 3.0.0 284 Friday, February 9, 2024 Approved
fvm (Install) 3.0.0-beta5 110 Wednesday, October 4, 2023 Exempted
fvm (Install) 3.0.0-beta4 23 Tuesday, October 3, 2023 Exempted
fvm (Install) 3.0.0-beta3 24 Tuesday, October 3, 2023 Approved
fvm (Install) 3.0.0-beta2 21 Friday, September 29, 2023 Exempted
fvm (Install) 3.0.0-beta1 19 Thursday, September 28, 2023 Exempted
fvm (Install) 2.4.2-dev0 147 Tuesday, September 5, 2023 Exempted
fvm (Install) 2.4.1 52772 Wednesday, July 6, 2022 Approved
fvm (Install) 2.4.0 172 Wednesday, July 6, 2022 Approved
fvm (Install) 2.3.1 5058 Thursday, April 7, 2022 Approved
fvm (Install) 2.3.0 220 Wednesday, April 6, 2022 Approved
fvm (Install) 2.2.6 4608 Tuesday, December 14, 2021 Approved
fvm (Install) 2.2.5 301 Thursday, December 9, 2021 Approved
fvm (Install) 2.2.4 994 Tuesday, November 9, 2021 Approved
fvm (Install) 2.2.3 1578 Friday, September 3, 2021 Approved
fvm (Install) 2.2.2 1326 Friday, June 18, 2021 Approved
fvm (Install) 2.2.1 86 Friday, June 18, 2021 Approved
fvm (Install) 2.2.0 85 Thursday, June 17, 2021 Approved
fvm (Install) 2.1.1 111 Wednesday, June 16, 2021 Approved
fvm (Install) 2.1.0 114 Monday, June 14, 2021 Approved
fvm (Install) 2.0.7 78 Monday, June 14, 2021 Approved
fvm (Install) 2.0.5 442 Wednesday, May 19, 2021 Approved
fvm (Install) 2.0.4 95 Friday, May 7, 2021 Approved
fvm (Install) 2.0.3 440 Tuesday, May 4, 2021 Approved
fvm (Install) 2.0.1 181 Tuesday, May 4, 2021 Approved
fvm (Install) 1.3.0-dev4 91 Wednesday, September 30, 2020 Exempted
fvm (Install) 1.3.0-dev3 70 Wednesday, September 30, 2020 Exempted
fvm (Install) 1.3.0-dev2 79 Tuesday, September 29, 2020 Exempted

Discussion for the fvm (Install) Package

Ground Rules:

  • This discussion is only about fvm (Install) and the fvm (Install) package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or fvm (Install), or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus