From 5a0d8e7b979a5f1594274e198bdeac2afcdc0293 Mon Sep 17 00:00:00 2001 From: lucarin91 Date: Thu, 23 Oct 2025 18:32:11 +0200 Subject: [PATCH 1/2] fix: update/improves arduino-app-cli command --- .../app-lab/tutorials/03.cli/apps-lab-cli.md | 33 ++++++++++++++++--- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/content/software/app-lab/tutorials/03.cli/apps-lab-cli.md b/content/software/app-lab/tutorials/03.cli/apps-lab-cli.md index 56bdfa2277..11ea49d939 100644 --- a/content/software/app-lab/tutorials/03.cli/apps-lab-cli.md +++ b/content/software/app-lab/tutorials/03.cli/apps-lab-cli.md @@ -1,5 +1,5 @@ --- -title: 'Arduino App Lab CLI: Manage Apps from the Command Line' +title: 'Arduino App CLI: Manage Apps from the Command Line' description: Learn how to use the Arduino App Lab CLI, the command line interface for launching Apps on the UNO Q board. author: Karl Söderby tags: [UNO Q, Linux, CLI] @@ -172,14 +172,39 @@ This will list all available Apps (including examples), and their status: ## Set Board Name -To set a board name using the `arduino-app-cli`, we can use the `set-name` command. Note that this requires additional permissions, so we need to use `sudo`. +To set a board name using the `arduino-app-cli`, we can use the `set-name` command. ```sh -sudo arduino-app-cli board set-name "my-board" +arduino-app-cli board set-name "my-board" ``` This will change the name of the board, which will take effect after resetting the board. +## System configuration and updates + +The `system` command allows you to manage system configuration and updates your board. + +To check for updates, run: + +```sh +arduino-app-cli system update +``` +This will prompt you to install any available updates. + +To enable or disable the network mode, use: + +```sh +arduino-app-cli system network enable/disable +``` + +Network mode will enable ssh and allow to connect to the board over the network. + +Finally, you can gain back some storage space by cleaning up unused containers and images by running: + +```sh +arduino-app-cli system cleanup +``` + ## Bricks Currently, it is only possible to list available Bricks and specific details for each Brick. @@ -204,4 +229,4 @@ This article covers some important commands & usage of the `arduino-app-cli`, wh More documentation for the Arduino App Lab is available at: - [Arduino App Lab Documentation](https://docs.arduino.cc/software/app-lab/) -You can also visit the [Arduino® UNO Q](/hardware/uno-q) hardware page for details on the board. \ No newline at end of file +You can also visit the [Arduino® UNO Q](/hardware/uno-q) hardware page for details on the board. From ef57bc0b386d5020c5d3b27cfb28083616daa2a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20S=C3=B6derby?= <35461661+karlsoderby@users.noreply.github.com> Date: Fri, 24 Oct 2025 09:43:27 +0200 Subject: [PATCH 2/2] Apply suggestions from code review --- content/software/app-lab/tutorials/03.cli/apps-lab-cli.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/software/app-lab/tutorials/03.cli/apps-lab-cli.md b/content/software/app-lab/tutorials/03.cli/apps-lab-cli.md index 11ea49d939..db020d187a 100644 --- a/content/software/app-lab/tutorials/03.cli/apps-lab-cli.md +++ b/content/software/app-lab/tutorials/03.cli/apps-lab-cli.md @@ -180,9 +180,9 @@ arduino-app-cli board set-name "my-board" This will change the name of the board, which will take effect after resetting the board. -## System configuration and updates +## System Configuration and Updates -The `system` command allows you to manage system configuration and updates your board. +The `system` command allows you to manage system configurations and updates on your board. To check for updates, run: @@ -197,7 +197,7 @@ To enable or disable the network mode, use: arduino-app-cli system network enable/disable ``` -Network mode will enable ssh and allow to connect to the board over the network. +Network mode will enable SSH and allows clients to connect to the board over a local network. Finally, you can gain back some storage space by cleaning up unused containers and images by running: