Now working with arduino nano at the command line. The ide is ok but I like cli.
Link to arduino-cli documentation
https://arduino.github.io/arduino-cli/0.19/getting-started/
New sketch:
arduino-cli sketch new <<SketchName>>
A new sketch is generated in its own directory.
Board List:
arduino-cli board list
arduino-cli board listall
command to list all the boards currently found
Core:
arduino-cli core install arduino:mbed_nano
core, to me, is a library for the particular arduino I am currently working with. The above command installs the core for the arduino card currently being worked with, in my case, mbed_nano
arduino-cli core list:
arduino-cli core list
lists the cores currently available for use.