Installing the Arduino* IDE

This guide contains steps to install the Arduino IDE on a system with Windows*, Mac* OS X*, or Linux*.

These steps were tested using the 1.6.8 version of the Arduino IDE.

Requirements

  • You have connected your board to your computer and gathered any required components. See the list of requirements for details.

Choose your operating system

Install Arduino (Windows)

  1. If you haven't already, install 7-Zip*, a free archive utility that can be downloaded at: www.7zip.org.
  2. Download the Arduino IDE from the Arduino Software page. Be sure to download the version for your operating system.
  3. Navigate to the folder where you downloaded the Arduino IDE .zip file.
  4. Right-click on the .zip file, point to 7-Zip, and select Extract to "arduino-…".

    7zip

  5. Open the extracted folder. You can move this folder to a different location, if desired. A common place is to create a C:\Arduino folder. For this example, we will stick with the Downloads folder where it was extracted.

    open-arduinoEXE

  6. Double-click arduino.exe. The Arduino IDE opens.
  7. Choose Tools > Board > Boards Manager. The Boards Manager opens.

    Example of the Boards Manager

  8. In the list of boards, select your board type:
    • For the Intel® Edison board, select Intel i686 Boards.
    • For the Intel® Galileo board, select Intel i586 Boards. From the Select version drop-down list, select 1.6.2+1.0.
  9. Click Install to install the board definition package for your board.
  10. When the installation process is finished, click OK.

Now that you have installed the Arduino IDE, see Blinking an LED with the Arduino* IDE for steps to run a sample application to blink an LED on your board.

Install Arduino (Mac OS X)

  1. Download the Arduino IDE from the Arduino Software page. Be sure to download the version for your operating system.
  2. Navigate to the folder where you copied the Arduino IDE .zip file and double-click it to open the archive. This will unzip an application in the Downloads folder called Arduino.

    archive-utility

  3. Rename the Arduino file ArduinoEdison or ArduinoGalileo and move it into Applications.

  4. Double-click your renamed file. Arduino opens.
  5. Choose Tools > Board > Boards Manager. The Boards Manager opens.
  6. In the list of boards, select your board type:
    • For the Intel® Edison board, select Intel i686 Boards.
    • For the Intel® Galileo board, select Intel i586 Boards. From the Select version drop-down list, select 1.6.2+1.0.
  7. Click Install to install the board definition package for your board.
  8. When the installation process is finished, click OK.

Now that you have installed the Arduino IDE, see Blinking an LED with the Arduino* IDE for steps to run a sample application to blink an LED on your board.

Install Arduino (Linux)

  1. To check if you have Java installed, open a terminal and enter the command:

    java

  2. If you see the above message, you do not have Java installed and you will need to install it. To install the Java package, enter the command:

    sudo apt-get install default.jre

    You may be prompted to enter your user password.

  3. Download the Arduino IDE from the Arduino Software page. Be sure to download the version for your operating system. Newer versions of Linux will use a .txz rather than a .tgz file type.
  4. Navigate to the folder where you copied the Arduino IDE .tgz or .txz file and double-click it to open the archive. 

    You can decompress the file from the command line. To do so, use xz by entering the following command:

    unxz filename

    Where filename is the name of the file to decompress. For example: unxz IntelArduino-1.6.0-Linux64.txz

    If you don't have xz installed, install it by entering one of the following commands:

    • For Ubuntu or other Debian-based machines:

      sudo apt-get install xz-utils

    • For Red Hat*, Fedora, CentOS, or similar machines:

      sudo yum install xz

  5. Click Extract and navigate to the directory where you would like to unzip the Arduino IDE. In this example, we will leave it in the Download directory. Click Extract.
  6. The extracted folder should contain a file named arduino, as well as several folders.

    extracted-folder-linux

  7. Open up a new Terminal window.
  8. Navigate to the Arduino IDE folder. In this example, the command will be cd Downloads/arduino-x.x.x/, where x.x.x is the Arduino IDE version number you downloaded.

    Note: When you start typing in cd Downloads/arduino, you can press Tab to auto-complete the folder path.

    auto-complete-folderpath

  9. To run Arduino with administrator privileges, enter the command:

    sudo ./arduino.

    If prompted, enter your password. The Arduino IDE opens.

    arduino-ide-opens

  10. In a Terminal window on your host machine, check the availability of the /ttyACM* port by entering the following command:

    ls /dev/ttyACM*

    Note: If the /ttyACM* port is not available, here are several possible reasons why:

    • The modem manager is using the port. When the port becomes active, the modem manager can claim the port, blocking the IDE's access to the port. The exact command to remove it will depend on your Linux distribution. For example, the command

      sudo apt-get remove modemmanager

      may work.
    • The /ttyACM port was not created automatically when you plugged in your board. To add the port, do the following:
      1. Create a file: etc/udev/rules.d/50-arduino.rules
      2. Add the following to the file:

        KERNEL=="ttyACM[0-9]*", MODE="0666"

      3. Restart udev by entering the following command:

        sudo service udev restart

        If you are using a virtual machine (VM), you may need to reboot Linux within the VM.

    • If you still are not able to see the port in the IDE, it may be because your user hasn't been added to the dialout group. Add yourself to the dialout group by entering the following command:

      sudo adduser your_user_name dialout       
      Then restart the IDE and try again.
  11. Choose Tools > Port, then verify that your port and device are selected. The entry should be similar to: /dev/ttyACM0 (Intel® Edison).
  12. Choose Tools > Board > Boards Manager. The Boards Manager opens.
  13. In the list of boards, select your board type:
    • For the Intel® Edison board, select Intel i686 Boards.
    • For the Intel® Galileo board, select Intel i586 Boards. From the Select version drop-down list, select 1.6.2+1.0.
  14. Click Install to install the board definition package for your board.
  15. When the installation process is finished, click OK.

Now that you have installed the Arduino IDE, see Blinking an LED with the Arduino* IDE for steps to run a sample application to blink an LED on your board.

For more complete information about compiler optimizations, see our Optimization Notice.