Arduino IDE (Install)

  • 1
  • 2
  • 3

1.8.16 | Updated: 07 Sep 2021

Downloads:

116,699

Downloads of v 1.8.16:

8,205

Maintainer(s):

Software Author(s):

  • Arduino team

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

  • 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

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:

>

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

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

4. Choose your deployment method:


choco upgrade arduino -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 arduino -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Ensure arduino installed
  win_chocolatey:
    name: arduino
    state: present
    version: 1.8.16
    source: STEP 3 URL

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


chocolatey_package 'arduino' do
  action    :install
  version  '1.8.16'
  source   'STEP 3 URL'
end

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


Chocolatey::Ensure-Package
(
    Name: arduino,
    Version: 1.8.16,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller arduino
{
   Name     = 'arduino'
   Ensure   = 'Present'
   Version  = '1.8.16'
   Source   = 'STEP 3 URL'
}

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


package { 'arduino':
  provider => 'chocolatey',
  ensure   => '1.8.16',
  source   => 'STEP 3 URL',
}

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


salt '*' chocolatey.install arduino version="1.8.16" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. 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 07 Sep 2021.

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.16-windows.exe'
$checksum       = '3bbaff291aefd45b665dd14ca63cc405985f34c5b9dc1bd19a3e2a4cfe17e6e6'
$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.

Version Downloads Last Updated Status
Arduino IDE (Install) 1.8.13 24705 Thursday, June 18, 2020 Approved
Arduino IDE (Install) 1.8.12 9231 Monday, February 17, 2020 Approved
Arduino IDE (Install) 1.8.11 2910 Wednesday, January 29, 2020 Approved
Arduino IDE (Install) 1.8.10 11973 Monday, September 16, 2019 Approved
Arduino IDE (Install) 1.8.9 27725 Friday, March 15, 2019 Approved
Arduino IDE (Install) 1.8.8 4484 Friday, December 7, 2018 Approved
Arduino IDE (Install) 1.8.7 4343 Thursday, September 13, 2018 Approved
Arduino IDE (Install) 1.8.6 2456 Friday, August 24, 2018 Approved
Arduino IDE (Install) 1.8.5 8251 Tuesday, October 3, 2017 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