Arduino IDE (Install)

  • 1
  • 2
  • 3

1.8.19 | Updated: 20 Jan 2022

Downloads:

138,265

Downloads of v 1.8.19:

13,025

Maintainer(s):

Software Author(s):

  • Arduino team

  • 1
  • 2
  • 3
Arduino IDE (Install) 1.8.19

  • 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 Arduino IDE (Install), run the following command from the command line or from PowerShell:

>

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

>

To uninstall Arduino IDE (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 arduino -y --source="'INTERNAL REPO 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 arduino -y --source="'INTERNAL REPO URL'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install arduino
  win_chocolatey:
    name: arduino
    version: '1.8.19'
    source: INTERNAL REPO URL
    state: present

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


chocolatey_package 'arduino' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '1.8.19'
end

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


cChocoPackageInstaller arduino
{
    Name     = "arduino"
    Version  = "1.8.19"
    Source   = "INTERNAL REPO URL"
}

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


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

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

This package was approved as a trusted package on 20 Jan 2022.

Description

Arduino

Arduino integrated development environment (IDE) is a cross-platform application written in Java, and derives from the IDE for the Processing programming language and the Wiring projects. It is designed to introduce programming to artists and other newcomers unfamiliar with software development. It includes a code editor with features such as syntax highlighting, brace matching, and automatic indentation, and is also capable of compiling and uploading programs to the board with a single click. A program or code written for Arduino is called a sketch.

Arduino programs are written in C or C++. The Arduino IDE comes with a software library called "Wiring" from the original Wiring project, which makes many common input/output operations much easier.

Documentation

Community

Package-specific issue

If this package isn't up-to-date for some days, Create an issue

Support the package maintainer and Patreon


tools\arduinoInstall.ahk
#NoEnv
#NoTrayIcon
SendMode Input
DetectHiddenText, off  ;toggle search hidden window text
DetectHiddenWindows, off  ;toggle detect hidden windows
SetTitleMatchMode, 2   ;contains

winTitle = Windows Security ahk_class #32770

; Adafruit LLC Ports
WinWait, %winTitle%, ,300
WinActivate
ControlClick, &Install, %winTitle%

Sleep, 100

; Arduino USB Driver
WinWait, %winTitle%
WinActivate
ControlClick, &Install, %winTitle%
Sleep, 100
WinWait, %winTitle%
WinActivate
ControlClick, &Install, %winTitle%
Sleep, 100
WinWait, %winTitle%
WinActivate
ControlClick, &Install, %winTitle%
Sleep, 100
WinWait, %winTitle%
WinActivate
ControlClick, &Install, %winTitle%
Sleep, 100
WinWait, %winTitle%
WinActivate
ControlClick, &Install, %winTitle%

ExitApp
tools\chocolateyInstall.ps1
$ErrorActionPreference = 'Stop';

$url            = 'https://downloads.arduino.cc/arduino-1.8.19-windows.exe'
$checksum       = '9b480a781e823f81c643a67b1a0e53ad25fceb1b2a4a90977df6916877262055'
$checksumType   = 'sha256'
$validExitCodes = @(0)

$packageArgs = @{
  packageName   = $env:ChocolateyPackageName
  fileType      = 'EXE'
  Url           = $url
  checksum      = $checksum
  checksumType  = $checksumType
  softwareName  = 'Arduino*'
  silentArgs    = '/S'
  validExitCodes= $validExitCodes
}

$toolsDir   = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$ahkFile    = Join-Path $toolsDir "arduinoInstall.ahk"
Start-Process -FilePath 'AutoHotKey' -ArgumentList $ahkFile

Install-ChocolateyPackage @packageArgs

#Don't need installer anymore
Remove-Item $toolsDir\*.exe -ea 0 -force
tools\chocolateyUninstall.ahk
#NoEnv
SendMode Input
SetTitleMatchMode, 2   ;text must contain
DetectHiddenText, off  ;toggle search hidden window text
DetectHiddenWindows, off  ;toggle detect hidden windows
WinWait, Arduino Uninstall ahk_class #32770, Warning, 20
WinActivate
ControlClick, OK, Arduino Uninstall ahk_class #32770
WinWait, Arduino Uninstall ahk_class #32770, The Arduino software has been uninstalled, 20
WinActivate
ControlClick, OK, Arduino Uninstall ahk_class #32770
ExitApp
tools\chocolateyUninstall.ps1
$packageName = 'arduino'
$softwareName = 'Arduino*'
$installerType = 'exe'
$silentArgs = '/S'
$validExitCodes = @(0)

$scriptPath = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$ahkFile = Join-Path $scriptPath "chocolateyUninstall.ahk"
$ahkExe = 'AutoHotKey'
$ahkRun = "$Env:Temp\$(Get-Random).ahk"
Copy-Item $ahkFile "$ahkRun" -Force
Start-Process $ahkExe $ahkRun

[array]$key = Get-UninstallRegistryKey -SoftwareName $softwareName
Write-Warning "Warning: All existing files in `"$(Split-Path $($key.UninstallString))`" will be deleted. This includes files and folders present before or added since you installed the Arduino software."
Write-Warning "Ctrl+C to cancel.  Continuing in 5 seconds..."
Start-Sleep -Seconds 5

$key | ForEach-Object {
  Uninstall-ChocolateyPackage -PackageName $packageName `
                              -FileType $installerType `
                              -SilentArgs $($silentArgs) `
                              -File $($_.UninstallString.Replace('"','')) `
                              -ValidExitCodes $validExitCodes
}

Remove-Item "$ahkRun" -Force

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
Arduino IDE (Install) 1.8.16 16132 Tuesday, September 7, 2021 Approved
Arduino IDE (Install) 1.8.13 24782 Thursday, June 18, 2020 Approved
Arduino IDE (Install) 1.8.12 9265 Monday, February 17, 2020 Approved
Arduino IDE (Install) 1.8.11 2942 Wednesday, January 29, 2020 Approved
Arduino IDE (Install) 1.8.10 11998 Monday, September 16, 2019 Approved
Arduino IDE (Install) 1.8.9 27758 Friday, March 15, 2019 Approved
Arduino IDE (Install) 1.8.8 4511 Friday, December 7, 2018 Approved
Arduino IDE (Install) 1.8.7 4377 Thursday, September 13, 2018 Approved
Arduino IDE (Install) 1.8.6 2490 Friday, August 24, 2018 Approved

Program

Package

Discussion for the Arduino IDE (Install) Package

Ground Rules:

  • This discussion is only about Arduino IDE (Install) and the Arduino IDE (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 Arduino IDE (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