You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/software/app-lab/tutorials/03.cli/apps-lab-cli.md
+29-4Lines changed: 29 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
title: 'Arduino App Lab CLI: Manage Apps from the Command Line'
2
+
title: 'Arduino App CLI: Manage Apps from the Command Line'
3
3
description: Learn how to use the Arduino App Lab CLI, the command line interface for launching Apps on the UNO Q board.
4
4
author: Karl Söderby
5
5
tags: [UNO Q, Linux, CLI]
@@ -172,14 +172,39 @@ This will list all available Apps (including examples), and their status:
172
172
173
173
## Set Board Name
174
174
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.
176
176
177
177
```sh
178
-
sudo arduino-app-cli board set-name "my-board"
178
+
arduino-app-cli board set-name "my-board"
179
179
```
180
180
181
181
This will change the name of the board, which will take effect after resetting the board.
182
182
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
+
183
208
## Bricks
184
209
185
210
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
204
229
More documentation for the Arduino App Lab is available at:
0 commit comments