|
1 |
| -# Using Arduino CLI on windows 10 |
| 1 | +# arduino-cli - Getting started guide |
| 2 | + |
| 3 | +One software that I use very often but absolutely hate is the Arduino IDE. |
| 4 | + |
| 5 | +The UI is simple and non-intimidating, even a beginner can use it very easily without any trouble. |
| 6 | +But I will say Arduino IDE is bit underwhelming as an IDE, At least by today's standard. |
| 7 | + |
| 8 | +- It doesn't have proper intellisense |
| 9 | +- It doesn't have goto definition/ goto declaration feature |
| 10 | +- No variable renaming |
| 11 | +- Even though it supports tabs, You can only open files from the same project. |
| 12 | +- No git integration. |
| 13 | +- No custom font support. |
| 14 | +- Indentation is using 2 spaces only and no way to control it. |
| 15 | +- Most of all, NO DARK THEME. (I know we can tweak the theme little bit but it always looked imperfect). |
| 16 | + |
| 17 | +I can go on about the reasons to hate Arduino IDE. |
| 18 | + |
| 19 | +Over time the Arduino team has added some nice features to the IDE but the development experience is same. You can feel that its a software from the 2000s. |
| 20 | + |
| 21 | +There were some attempts like Arduino extension for VS Code and plarformIO |
| 22 | +PlatformIO has a different code structure so if you share your project online, Beginners will have a hard time recreating your project. |
| 23 | +For the Arduino extension to work, You need to have the Arduino IDE already installed in your system. I felt it like a "hacky" setup. |
| 24 | + |
| 25 | +About a year ago, Arduino launched arduino-cli, their CLI tool written in google's go programing language is powering Arduino Create Web Editor. |
| 26 | + |
| 27 | +Advantage of the arduin-cli is that you can write code in your favourite text editor and compile and upload the code to the specified board using the CLI tool. |
| 28 | + |
| 29 | +CLI is very small in size (about 7MB). but packs all the major feature of the IDE. |
2 | 30 |
|
3 | 31 | ## Install the cli
|
4 | 32 |
|
| 33 | +### On windows |
| 34 | + |
5 | 35 | 1. Download the cli tool from [here](https://arduino.github.io/arduino-cli/installation/)
|
6 | 36 |
|
7 | 37 | 2. Extract the `arduino-cli.exe` file to a folder which is indexed in `PATH`.
|
|
0 commit comments