Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - Learn more!

39,137

Downloads

283

Downloads of v 1.0.0-rc1

9/2/2014

Last update

This is a prerelease version of Elixir.

Elixir

1.0.0-rc1

There are no package test results for this package

This package was approved as a trusted package on 4/15/2015.

Elixir is a functional meta-programming aware language built on top of the Erlang VM. It is a dynamic language with flexible syntax with macros support that leverages Erlang's abilities to build concurrent, distributed, fault-tolerant applications with hot code upgrades.

Elixir also provides first-class support for pattern matching, polymorphism via protocols (similar to Clojure's), aliases and associative data structures (usually known as dicts or hashes in other programming languages).

Finally, Elixir and Erlang share the same bytecode and data types. This means you can invoke Erlang code from Elixir (and vice-versa) without any conversion or performance hit. This allows a developer to mix the expressiveness of Elixir with the robustness and performance of Erlang.

To install Elixir, run the following command from the command line or from PowerShell:

C:\> choco install elixir --version 1.0.0-rc1 --pre

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

C:\> choco upgrade elixir --version 1.0.0-rc1 --pre

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $package = 'Elixir'
    $version = '1.0.0-rc1'
    
    try {
      $params = @{
        PackageName = $package;
        FileType = 'zip';
        Url = "https://github.com/elixir-lang/elixir/releases/download/v$version/Precompiled.zip";
        UnzipLocation = Join-Path $Env:SystemDrive 'tools';
      }
    
      $binRoot = Join-Path $Env:SystemDrive $Env:Chocolatey_Bin_Root
      if (Test-Path $binRoot)
      {
        $params.UnzipLocation = $binRoot
      }
    
      $params.UnzipLocation = Join-Path $params.UnzipLocation 'Elixir'
    
      if (!(Test-Path($params.UnzipLocation)))
      {
        New-Item $params.UnzipLocation -Type Directory | Out-Null
      }
    
      Install-ChocolateyZipPackage @params
    
      $elixirBin = Join-Path $params.UnzipLocation 'bin'
    
    
      Write-Host @'
    Please restart your current shell session to access Elixir commands:
    elixir
    elixirc
    mix
    iex.bat (use batch file within Powershell due to name collision)
    '@
    
      Write-ChocolateySuccess $package
    } catch {
      Write-ChocolateyFailure $package "$($_.Exception.Message)"
      throw
    }
    
    
  • tools\chocolateyUninstall.ps1 Show
    $package = 'Elixir'
    
    try {
      $location = Join-Path $Env:SystemDrive $Env:Chocolatey_Bin_Root
      if (!(Test-Path $location))
      {
        $location = Join-Path $Env:SystemDrive 'tools'
      }
      $location = Join-Path $location $package
    
      if (Test-Path $location)
      {
        Remove-Item $location -Recurse -Force
      }
    
      $binLocation = (Join-Path $location 'bin') -replace '\\', '\\'
    
      $userPaths = [Environment]::GetEnvironmentVariable('Path', 'User') -split ';' |
        ? { ($_ -notmatch $binLocation) -and (![String]::IsNullOrEmpty($_)) } |
        Select-Object -Unique
    
      [Environment]::SetEnvironmentVariable('Path', ($userPaths -join ';'), 'User')
    
      Write-ChocolateySuccess $package
    } catch {
      Write-ChocolateyFailure $package "$($_.Exception.Message)"
      throw
    }
    

Virus Scan Results

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.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Jose Valim

Tags

Release Notes

https://github.com/elixir-lang/elixir/releases/

Version History

Version Downloads Last updated Status
Elixir 1.6.6 1894 Friday, June 22, 2018 approved
Elixir 1.6.5 2277 Tuesday, May 8, 2018 approved
Elixir 1.6.4 2041 Friday, March 16, 2018 approved
Elixir 1.6.3 354 Friday, March 9, 2018 approved
Elixir 1.6.2 372 Thursday, March 1, 2018 approved
Elixir 1.6.1 396 Tuesday, February 20, 2018 approved
Elixir 1.6.0 1957 Thursday, January 18, 2018 approved
Elixir 1.6.0-rc1 787 Thursday, January 11, 2018 approved
Elixir 1.5.3 414 Tuesday, January 9, 2018 approved
Show More

Discussion for the Elixir Package

Ground rules:

  • This discussion is only about Elixir and the Elixir 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 Elixir, 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
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok