Command line Arduino compiling and uploading?
Compiling and uploading sketches (as apposed to C/C++ sources) on the command line (on Windows, Mac, and Linux) is supported directly via flags to the arduino executable since 1.5.0.
An ino can be compiled and uploaded with arduino --upload [sketch.ino]
Documentation
How to define board parameters when compiling Arduino code via command line
Turns out that "there's no way to list the possible parameters because anyone who makes a board definition can add any parameters they like. There is no standardization imposed on the parameters."
More info: https://github.com/arduino/Arduino/issues/8716
Related Topics
Mixing Static Libraries and Shared Libraries
Bash: Run an Executable File in Background
Print Field 'N' to End of Line
How Does Cron Internally Schedule Jobs
How to Convert Iso8859-15 to Utf8
How to Add .So File to the Java.Library.Path in Linux
Postgresql CSV Import from Command Line
Find and Replace a Particular Term in Multiple Files
How to Set a Global Nofile Limit to Avoid "Many Open Files" Error
Run Matlab in Linux Without Graphical Environment
Linux Bash: Setting Iptables Rules to Allow Both Active and Passive Ftp
How to Build and Compile Cross Platform Xamarin Apps on Linux
Difference Between Retq and Ret
Hiding Github Token in .Gitconfig
Replace Text Between Two Strings in File Using Linux Bash
How to Imshow with Invisible Figure in Matlab Running on Linux