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:

199,276

Downloads of v 0.0.1:

10,165

Last Update:

19 Oct 2017

Package Maintainer(s):

Software Author(s):

  • Meteor Development Group
  • Inc.

Tags:

meteor

Meteor

This is not the latest version of Meteor available.

  • 1
  • 2
  • 3

0.0.1 | Updated: 19 Oct 2017

Downloads:

199,276

Downloads of v 0.0.1:

10,165

Software Author(s):

  • Meteor Development Group
  • Inc.

Tags:

meteor

Meteor 0.0.1

This is not the latest version of Meteor 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 Meteor, run the following command from the command line or from PowerShell:

>

To upgrade Meteor, run the following command from the command line or from PowerShell:

>

To uninstall Meteor, 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 meteor -y --source="'INTERNAL REPO URL'" --version="'0.0.1'" [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 meteor -y --source="'INTERNAL REPO URL'" --version="'0.0.1'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install meteor
  win_chocolatey:
    name: meteor
    version: '0.0.1'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'meteor' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '0.0.1'
end

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


cChocoPackageInstaller meteor
{
    Name     = "meteor"
    Version  = "0.0.1"
    Source   = "INTERNAL REPO URL"
}

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


package { 'meteor':
  ensure   => '0.0.1',
  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.

NOTE

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

Package Approved

This package was approved by moderator flcdrg on 23 Oct 2017.

Description

Meteor is an ultra-simple environment for building modern web
applications.

With Meteor you write apps:

  • in modern JavaScript
  • that send data over the wire, rather than HTML
  • using your choice of popular open-source libraries

> As with the previous Meteor installer, Meteor will be installed into %LocalAppData%\.meteor, which also serves as a global cache for all Meteor packages. Re-installing or uninstalling Meteor will automatically purge this directory.


tools\chocolateyinstall.ps1
# Stop on all errors.
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
Import-Module -Force "$toolsDir\helpers.psm1"

$packageParameters = Get-PackageParameters

$bootstrapLinkUrl = 'https://packages.meteor.com/bootstrap-link'

$installerTempDir = Get-InstallerTempDirectory

Assert-LocalAppData

# If an installation from the (deprecated) installer was found, uninstall it.
Remove-OldMeteorInstallerIfDetected

# If the data from a previous install was found, delete it.
Remove-MeteorDataDirectory

# Start fresh with a new directory.
Initialize-MeteorDataDirectory

# Find the tar.gz, if it's locally available.  This is helpful
# if testing the package installer because the 200MB installer tar.gz
# can simply be placed in the tools directory.  It must match the
# pattern we're looking for and exist, otherwise we'll just download it.
$gciTarGzArgs = @{
  'path'    = $toolsDir
  'filter'  = 'meteor-bootstrap-os.windows.*.tar.gz'
  'file'    = $true
}
$bootstrapTarGzFileName = Get-ChildItem @gciTarGzArgs | Select -First 1
$bootstrapTarGzPath = Join-Path $toolsDir $bootstrapTarGzFileName

# If we find it locally, we'll extract it from there, but otherwise
# we'll download it from the bootstrap provider.
if (Test-Path -LiteralPath $bootstrapTarGzPath -PathType 'Leaf') {
  $unzipLocalTarGzArgs = @{
    fileFullPath    = $bootstrapTarGzPath
    destination     = $installerTempDir
  }
  Get-ChocolateyUnzip @unzipLocalTarGzArgs
} else {
  $bootstrapQueryString32 = New-BootstrapLinkQueryString `
    -Arch 'os.windows.x86_32' `
    -Release $packageParameters.RELEASE
  $bootstrapQueryString64 = New-BootstrapLinkQueryString `
    -Arch 'os.windows.x86_64' `
    -Release $packageParameters.RELEASE
  $installTarGzArgs = @{
    packageName   = $env:ChocolateyPackageName
    url           = "${bootstrapLinkUrl}${bootstrapQueryString32}"
    url64bit      = "${bootstrapLinkUrl}${bootstrapQueryString64}"
    unzipLocation = $installerTempDir
  }
  Install-ChocolateyZipPackage @installTarGzArgs
}

# 7z only supports extracting one archive type at a time, so it's not
# possible to get the .tar and .gz extracted in a single pass.  So, we
# find the tarball which was extracted from the Gzip file.  It should
# be the only file with this pattern in this directory.
$gciTarArgs = @{
  path    = $installerTempDir
  filter  = 'meteor-bootstrap-os.windows.*.tar'
  file    = $true
}
$bootstrapTarFileName = Get-ChildItem @gciTarArgs | Select -First 1
$bootstrapTarPath = Join-Path $installerTempDir $bootstrapTarFileName

# Stop if for whatever reason, we failed to find the tarball.
if (!(Test-Path -LiteralPath $bootstrapTarPath -PathType 'Leaf')) {
  throw "Couldn't find bootstrap tarball to extract"
}

$meteorDataDirectory = Get-MeteorDataDirectory

# Unzip the bootstrap tarball.
$unzipTarArgs = @{
  fileFullPath    = $bootstrapTarPath
  destination     = (Get-Item $meteorDataDirectory).parent.FullName
}

Get-ChocolateyUnzip @unzipTarArgs

# Remove the tarball now that it has been extracted.
Remove-Item $bootstrapTarPath

# Update $PATH so "meteor" is available on the command line anywhere.
$installPathArgs = @{
  pathToInstall = $meteorDataDirectory
  pathType      = 'User'
}

Install-ChocolateyPath @installPathArgs
# Since PATH has changed, we'll reload so the current shell can use it.
Update-SessionEnvironment

$messageGettingStarted = @"
***************************************

Meteor has been installed!

To get started fast:

  $ meteor create ~/my_cool_app
  $ cd ~/my_cool_app
  $ meteor

Or see the docs at:

  https://docs.meteor.com

***************************************
"@

Write-Host $messageGettingStarted -ForegroundColor Magenta
tools\chocolateyuninstall.ps1
# Stop on all errors.
$ErrorActionPreference = 'Stop';

$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
Import-Module -Force "$toolsDir\helpers.psm1"

Write-Host "Removing the Meteor data directory..."
# The Meteor data holds all of the information about a Meteor install.
Remove-MeteorDataDirectory
tools\helpers.psm1
# Meteor Helpers
#
# "Temp" logic borrowed from Install-ChocolateyZipPackage: https://git.io/vdEZj
$chocTempDir = $env:TEMP
$tempDir = Join-Path $chocTempDir "$($env:chocolateyPackageName)"
if ($env:chocolateyPackageVersion -ne $null) {
  $tempDir = Join-Path $tempDir "$($env:chocolateyPackageVersion)";
}
$tempDir = $tempDir -replace '\\chocolatey\\chocolatey\\','\chocolatey\'

# The current user's %LOCALAPPDATA% directory.  We'll set it once, as
# it should not change.
$localAppData = [Environment]::GetFolderPath('LocalApplicationData')

<#
  .Synopsis
  Obtain a unique temporary directory, within the installer temporary directory.
#>
Function Get-InstallerTempDirectory {
  [System.IO.Directory]::CreateDirectory($tempDir) | Out-Null
  "$tempDir"
}

<#
  .Synopsis
  Obtain a unique temporary directory, within the installer temporary directory.
#>
Function New-TempDirectory {
  [string] $name = [System.Guid]::NewGuid()
  New-Item -ItemType Directory -Path (Join-Path $tempDir $name)
}

Function Assert-LocalAppData {
  if (!(Test-Path -LiteralPath $localAppData -PathType 'Container')) {
    throw "LocalAppData must be available to install in."
  }
}

<#
  .Synopsis
  Retrieve the path to the Meteor data directory.
#>
Function Get-MeteorDataDirectory {
  Join-Path $localAppData '.meteor'
}

<#
  .Synopsis
  Completely remove the Meteor data directory.
#>
Function Initialize-MeteorDataDirectory {
  Assert-LocalAppData
  $meteorLocalAppData = Get-MeteorDataDirectory
  [System.IO.Directory]::CreateDirectory($meteorLocalAppData) | Out-Null
}

<#
  .Synopsis
  Completely remove the Meteor data directory.
#>
Function Remove-MeteorDataDirectory {
  Remove-DirectoryRecursively $(Get-MeteorDataDirectory)
}

<#
  .Synopsis
  Obtain the query string parameters for the boostrap link
#>
Function New-BootstrapLinkQueryString {
  Param (
    [Parameter(Mandatory=$True, Position=0)]
    [string]$Arch,
    [Parameter(Position=1)]
    [string]$Release
  )

  $queryString = "?arch=${Arch}"
  if ($Release) {
    $queryString += "&release=${Release}"
  }
  $queryString
}

<#
  .Synopsis
  Remove longer directory paths in a more aggressive way.

  .Description
  Meteor directories are very long due to deeply nested npm 'node_modules'
  directories.  This assists with removing those deep folder trees.
#>
Function Remove-DirectoryRecursively {
  Param (
    [Parameter(Mandatory=$True, Position=0)]
    [string]$Path
  )
  if (Test-Path -LiteralPath $Path -PathType 'Container') {
    if (Get-Command "robocopy.exe" -ErrorAction SilentlyContinue) {
      # Quietly use Robocopy to sync the Path with an empty directory.
      $emptyTempDir = New-TempDirectory
      & robocopy.exe $emptyTempDir $Path /purge | Out-Null
      Remove-Item $Path -Recurse -Force
      Remove-Item $emptyTempDir -Force
    } else {
      [System.IO.Directory]::Delete($Path, $true)
    }
  }
}

<#
  .Synopsis
  Remove the old, Wix-based installer, which is no longer used.

  .Description
  Previously, Meteor was installed with a WiX-based installer.  This installer
  is no longer actively maintained and this removes any such install.
#>
Function Remove-OldMeteorInstallerIfDetected {
  [array]$existing = Get-UninstallRegistryKey -SoftwareName "Meteor"
  If ($existing.Count -And $existing.QuietUninstallString) {
    Write-Output "Removing exising Meteor installation with installer"

    # It should be much quicker to uninstall if we remove the data directory
    # using our own mechanism, without waiting for the installer, which may not
    # work properly with long file paths.
    Remove-MeteorDataDirectory

    Write-Output " => $($existing.QuietUninstallString)"
    & cmd /c $($existing.QuietUninstallString)
  }
}

Export-ModuleMember -Function `
  Assert-LocalAppData,
  Get-InstallerTempDirectory,
  Get-MeteorDataDirectory,
  Initialize-MeteorDataDirectory,
  New-BootstrapLinkQueryString,
  Remove-MeteorDataDirectory,
  Remove-OldMeteorInstallerIfDetected
tools\VERIFICATION.txt
This Chocolatey package, which provides the Meteor open-source
JavaScript platform, is maintained by the same maintainers of the Meteor
open-source source project itself, which is overseen by Meteor
Development Group, Inc.

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
Meteor 0.0.4 2334 Tuesday, August 18, 2020 Approved
Meteor 0.0.2 152080 Thursday, November 16, 2017 Approved
Meteor 0.0.2-beta-2 385 Thursday, November 16, 2017 Exempted
Meteor 0.0.2-beta-1 757 Tuesday, November 7, 2017 Exempted
Meteor 0.0.1 10165 Thursday, October 19, 2017 Approved
Meteor 0.0.1-beta-5 354 Wednesday, October 18, 2017 Exempted
Meteor 0.0.1-beta-4 325 Wednesday, October 18, 2017 Exempted
Meteor 0.0.1-beta-3 311 Wednesday, October 18, 2017 Exempted
Meteor 0.0.1-beta-2 350 Monday, October 16, 2017 Exempted
Meteor 0.0.1-beta-1 322 Monday, October 16, 2017 Exempted
Meteor 0.0.1-beta 357 Friday, October 13, 2017 Exempted
Discussion for the Meteor Package

Ground Rules:

  • This discussion is only about Meteor and the Meteor 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 Meteor, 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