Arduino has launched its own CLI (Command Line Interface) Tool that allows us to code, compile and upload codes to your arduino boards using command prompt(Windows) and Terminal (Linux and MAC).
The best thing about this you can easily install and run Arduino CLI on both x86, x86 64 as well as ARM architectures. This flexibility allows you to install Arduino CLI on ARM devices such as Raspberry Pi or on your servers and use it to compile and upload codes on to the board of your choice.
Arduino CLI Installation
For Complete Codes and Instructions, Visit - Arduino CLI