The board package folder under Windows is:
c:\Users\UserNameXYZ\AppData\Local\Arduino15.
Is there any way to change this location outside the User profile?
In particular, we use Arduino at school. Each student must install the toolchain for the boards, which is a waste of profile memory.
Also the new UNO R4 board toolchain is bigger than the students quota - so we can not use at the moment.
What I am looking for is an option to install the board packages under e.g. c:\arduino\packages\ - this will be maintained by the Admin and the students can work right away with boards and packages.
Any ideas?
How do you solve this at your institution?
arduino-cli.yaml is written in the common YAML language. This means that, in case you find arduino-cli config to not be suitable or convenient for your application, you can also use any of the many general purpose tools available for working with data in this format. I can recommend the excellent yq:
This works fine for my PC with admin rights.
We will check at the school, if this solution works also for student accounts without write permission in that pre-installed folder. (I saw that there are also json-index files created.)