Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b0810f7

Browse files
Merge pull request #2682 from lucarin91/update-app-cli-tutorial
fix: update/improves arduino-app-cli command
2 parents 59ef721 + ef57bc0 commit b0810f7

File tree

1 file changed

+29
-4
lines changed

1 file changed

+29
-4
lines changed

‎content/software/app-lab/tutorials/03.cli/apps-lab-cli.md‎

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 'Arduino App Lab CLI: Manage Apps from the Command Line'
2+
title: 'Arduino App CLI: Manage Apps from the Command Line'
33
description: Learn how to use the Arduino App Lab CLI, the command line interface for launching Apps on the UNO Q board.
44
author: Karl Söderby
55
tags: [UNO Q, Linux, CLI]
@@ -172,14 +172,39 @@ This will list all available Apps (including examples), and their status:
172172

173173
## Set Board Name
174174

175-
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`.
175+
To set a board name using the `arduino-app-cli`, we can use the `set-name` command.
176176

177177
```sh
178-
sudo arduino-app-cli board set-name "my-board"
178+
arduino-app-cli board set-name "my-board"
179179
```
180180

181181
This will change the name of the board, which will take effect after resetting the board.
182182

183+
## System Configuration and Updates
184+
185+
The `system` command allows you to manage system configurations and updates on your board.
186+
187+
To check for updates, run:
188+
189+
```sh
190+
arduino-app-cli system update
191+
```
192+
This will prompt you to install any available updates.
193+
194+
To enable or disable the network mode, use:
195+
196+
```sh
197+
arduino-app-cli system network enable/disable
198+
```
199+
200+
Network mode will enable SSH and allows clients to connect to the board over a local network.
201+
202+
Finally, you can gain back some storage space by cleaning up unused containers and images by running:
203+
204+
```sh
205+
arduino-app-cli system cleanup
206+
```
207+
183208
## Bricks
184209

185210
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
204229
More documentation for the Arduino App Lab is available at:
205230
- [Arduino App Lab Documentation](https://docs.arduino.cc/software/app-lab/)
206231

207-
You can also visit the [Arduino® UNO Q](/hardware/uno-q) hardware page for details on the board.
232+
You can also visit the [Arduino® UNO Q](/hardware/uno-q) hardware page for details on the board.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /