Downloads of v 0.131.0:


Last Update:

24 Sep 2014

Package Maintainer(s):

Software Author(s):



atom notepad text github


This is not the latest version of Atom available.

  • 1
  • 2
  • 3

0.131.0 | Updated: 24 Sep 2014



Downloads of v 0.131.0:



Software Author(s):


  • 1
  • 2
  • 3
Atom 0.131.0

This is not the latest version of Atom available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Unknown

Verification Testing Unknown

Scan Testing Successful:

No detections found in any package files


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


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


To uninstall Atom, run the following command from the command line or from PowerShell:


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

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • 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 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. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade atom -y --source="'STEP 3 URL'" [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 atom -y --source="'STEP 3 URL'"

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

Exit $exitCode

- name: Ensure atom installed
    name: atom
    state: present
    version: 0.131.0
    source: STEP 3 URL

See docs at

chocolatey_package 'atom' do
  action    :install
  version  '0.131.0'
  source   'STEP 3 URL'

See docs at

    Name: atom,
    Version: 0.131.0,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller atom
   Name     = 'atom'
   Ensure   = 'Present'
   Version  = '0.131.0'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'atom':
  provider => 'chocolatey',
  ensure   => '0.131.0',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install atom version="0.131.0" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved as a trusted package on 06 Nov 2014.


Read more @

$dest = $(Split-Path -parent $MyInvocation.MyCommand.Definition)

. $(Join-Path $dest "functions.ps1")

# Install zip
$packageName = 'Atom' # arbitrary name for the package, used in messages
$url = '' # download url
$url64 = $url # 64bit URL here or just use the same as $url
Install-ChocolateyZipPackage "$packageName" "$url" "$dest" "$url64"
$exePath = $dest + '\Atom\atom.exe'

# Install desktop shortcut
$desktop = $([System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::DesktopDirectory))
$desktopLink = Join-Path $desktop "$packageName.lnk"
Install-ChocolateyShortcut -shortcutFilePath $desktopLink -targetPath $exePath

# Install start menu shortcut
$startMenu = $([System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::Programs))
$githubStartMenuGroup = Join-Path $startMenu "GitHub, Inc"
New-Item $githubStartMenuGroup -type directory -force
$startMenuLink = Join-Path $githubStartMenuGroup "$packageName.lnk"
Install-ChocolateyShortcut -shortcutFilePath $startMenuLink -targetPath $exePath

$iconPath = '"' + $exePath + '"'
# Install explorer menu file, directory, and background shortcuts
$elevated = @()
  $elevated += $(Install-ChocolateyExplorerMenuItemEx "Atom" "Open with Atom" "$dest\Atom\atom.exe" -iconLocation $iconPath -type "file")
  $elevated += $(Install-ChocolateyExplorerMenuItemEx "Atom" "Open Folder with Atom" "$dest\Atom\atom.exe" -iconLocation $iconPath -type "directory")
  $elevated += $(Install-ChocolateyExplorerMenuItemEx "Atom" "Open Folder with Atom" "$dest\Atom\atom.exe" -iconLocation $iconPath -type "background")
$cmd = $($elevated -join ';')
Start-ChocolateyProcessAsAdmin $cmd

# Install apm shortcut
Install-BinFile "apm" "$dest\Atom\resources\app\apm\node_modules\atom-package-manager\bin\apm.cmd"

Write-Host "explorer menu items created"
function Install-ChocolateyShortcut {
    [string] $shortcutFilePath,
    [string] $targetPath,
    [string] $workingDirectory,
    [string] $arguments,
    [string] $iconLocation,
    [string] $description

  Write-Debug "Running 'Install-ChocolateyShortcut' with parameters ShortcutFilePath: `'$shortcutFilePath`', TargetPath: `'$targetPath`', WorkingDirectory: `'$workingDirectory`', Arguments: `'$arguments`', IconLocation: `'$iconLocation`', Description: `'$description`'";

  if(!$shortcutFilePath) {
    Write-ChocolateyFailure "Install-ChocolateyShortcut" "Missing ShortCutFilePath input parameter."

  if(!$targetPath) {
    Write-ChocolateyFailure "Install-ChocolateyShortcut" "Missing TargetPath input parameter."

  if(!(Test-Path($targetPath))) {
    Write-ChocolateyFailure "Install-ChocolateyShortcut" "TargetPath does not exist, so can't create shortcut."

  if($iconLocation) {
    if(!(Test-Path($iconLocation))) {
      Write-ChocolateyFailure "Install-ChocolateyShortcut" "IconLocation does not exist, so can't create shortcut."

  if($workingDirectory) {
    if(!(Test-Path($workingDirectory))) {
      Write-ChocolateyFailure "Install-ChocolateyShortcut" "WorkingDirectory does not exist, so can't create shortcut."

  Write-Debug "Creating Shortcut..."

  try {
    $global:WshShell = New-Object -com "WScript.Shell"
      $lnk = $global:WshShell.CreateShortcut($shortcutFilePath)
      $lnk.TargetPath = $targetPath
    $lnk.WorkingDirectory = $workingDirectory
      $lnk.Arguments = $arguments
      if($iconLocation) {
          $lnk.IconLocation = $iconLocation
      $lnk.Description = $description

    Write-Debug "Shortcut created."

    Write-ChocolateySuccess "Install-ChocolateyShortcut completed"

  catch {
    Write-ChocolateyFailure "Install-ChocolateyShortcut" "There were errors attempting to create shortcut. The error message was '$_'."

function Install-BinFile {
    [string] $name,
    [string] $path

  Write-Debug "Running 'Install-BinFile' for $name with path:`'$path`'";

  $packageBatchFileName = Join-Path $nugetExePath "$name.bat"

  if (Test-Path ($packageBatchFileName)) {Remove-Item $packageBatchFileName -force}
  $path = $path.ToLower().Replace($nugetPath.ToLower(), "..\").Replace("\\","\")
  $path = "%DIR%$($path)"
  $pathBash = $path.Replace("%DIR%..\","`$DIR/../").Replace("\","/")
  Write-Host "Adding $packageBatchFileName and pointing to `'$path`'." -ForegroundColor $Note
"@echo off
SET DIR=%~dp0%
cmd /c ""$path %*""
exit /b %ERRORLEVEL%" | Out-File $packageBatchFileName -encoding ASCII

function Install-ChocolateyExplorerMenuItemEx {
  [string]$type = "file"
try {
  Write-Debug "Running 'Install-ChocolateyExplorerMenuItem' with menuKey:'$menuKey', menuLabel:'$menuLabel', command:'$command', type '$type', iconLocation:'$iconLocation'"
  $argName = "%1"
  if($type -eq "file") {
    $key = "*"
  elseif($type -eq "directory") {
  elseif($type -eq "background") {
  } else{
    return 1

  $iconCmd =""
  if($iconLocation) {
    $iconCmd="Set-ItemProperty -LiteralPath 'HKCR:\$key\shell\$menuKey' -Name 'Icon'  -Value '$iconLocation'"
  $elevated = "`
    if( -not (Test-Path -path HKCR:) ) {New-PSDrive -Name HKCR -PSProvider registry -Root Hkey_Classes_Root};`
    if(!(test-path -LiteralPath 'HKCR:\$key\shell\$menuKey')) { new-item -Path 'HKCR:\$key\shell\$menuKey' };`
    Set-ItemProperty -LiteralPath 'HKCR:\$key\shell\$menuKey' -Name '(Default)'  -Value '$menuLabel';`
    if(!(test-path -LiteralPath 'HKCR:\$key\shell\$menuKey\command')) { new-item -Path 'HKCR:\$key\shell\$menuKey\command' };`
    Set-ItemProperty -LiteralPath 'HKCR:\$key\shell\$menuKey\command' -Name '(Default)' -Value '$command \`"$argName\`"';`

  return $elevated
catch {
    $errorMessage = "'$menuKey' explorer menu item was not created $($_.Exception.Message)"
    Write-Error $errorMessage
    throw $errorMessage

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.

Version Downloads Last Updated Status
Atom 1.59.0-beta0 108 Tuesday, July 27, 2021 Approved
Atom 1.58.0-beta0 107 Tuesday, May 11, 2021 Approved
Atom 1.57.0 12472 Tuesday, May 11, 2021 Approved
Atom 1.57.0-beta0 70 Tuesday, April 13, 2021 Approved
Atom 1.56.0 6206 Tuesday, April 13, 2021 Approved
Atom 1.56.0-beta0 265 Wednesday, March 10, 2021 Approved
Atom 1.55.0 7354 Wednesday, March 10, 2021 Approved
Atom 1.55.0-beta0 567 Thursday, January 14, 2021 Approved
Atom 1.54.0 11112 Thursday, January 14, 2021 Approved

This package has no dependencies.

Discussion for the Atom Package

Ground Rules:

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