> ## Documentation Index
> Fetch the complete documentation index at: https://docs.standardcomputers.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Standard System CLI Command Reference — All Commands

> Complete reference for all Standard System CLI commands, from querying the AI model to managing relays, variables, files, and packages.

The Standard System CLI provides commands for controlling every aspect of your system at runtime. Run `standard` from your terminal (Linux) or launch Standard from the Start Menu (Windows) to open the CLI, then use the commands below. Commands are grouped by area of concern to make this reference easy to scan.

## Configuration

### `$config: [PROP]:[VALUE]`

Makes configuration changes at runtime without restarting the Standard System. Not all properties are modifiable at runtime for security reasons — refer to the [Configuration](/get-started/configuration) reference for details on each property.

```text theme={null}
$config: sms: false
```

## Display & Output

### `clear`

Clears the CLI output, giving you a clean terminal view.

### `print [ARGS...]`

Prints the value of arithmetic expressions in parentheses, variables, or string concatenations.

### `status`

Returns a JSON object containing current config, network, volume, and device information. Useful for a quick snapshot of your system's state.

### `version`

Returns the currently installed Standard System version string.

### `volume # || ++ || --`

Sets the output volume to a value between `0` and `100`, or increments/decrements the current volume by 5.

```text theme={null}
# Increase volume by 5
volume ++
# Decrease volume by 5
volume --
# Set volume to 50
volume 50
```

## AI & Queries

### `~QUERY`

Queries the configured Language Model with the text following the `~` character and returns the model's response.

## Bulletins & Maintenance

### `bulletin`

Generates a bulletin file containing all changes kept in the history Standard records. Bulletins are stored at `/.store/bulletins/MM_DD_YYYY.stdx`. The generation cadence is controlled by the `release_cadence` property in `config.conf`.

### `clean`

Empties the `/temp` and `/bulletins` folders, removing recent downloads and speech files to free up space.

### `update`

On Windows, checks for a new version of the Standard System. If a newer version is available, the installer is downloaded and launched automatically.

## Standards & Records

### `delete [STD_NAME]`

Permanently deletes the Standard with the given name from your system.

### `reload standards || reload stds`

Reloads all system Standards. Use this command after adding, deleting, or updating any Standard definition files so the running system picks up your changes without a full restart.

### `standards || stds [STD_NAME] [OUTPUT_TYPE]`

Lists all system Standards. Provide a `STD_NAME` argument to display the contents of a specific Standard. Append `json` as the output type to receive the result as JSON.

## Variables & Sandbox

### `destroy [VAR_NAME]`

Deletes the named variable from the working Standard variable sandbox.

### `in VAR_NAME ["TEXT"]`

Sets `VAR_NAME` to the value entered at the console. Provide an optional prompt string `TEXT` to display a message before reading input.

```text theme={null}
in name "What's your name?"
print name
```

### `registry`

Lists all variables currently held in the working variable sandbox.

### `registry name`

Returns the name of the working variable sandbox.

### `typeof VAR_NAME`

Returns the data type of the named variable.

## Files & Packages

### `download [URI]`

Downloads the contents at the given URI and places them in the `/temp` directory.

### `files [...]`

Interact with files on the device. See the Files section of the documentation for the full list of sub-commands and options.

### `pack PATH_TO_SPK`

Imports a ZIP file with the `.spk` extension into `/spks/FILE_NAME/...`, making it available as a package on your Standard System.

### `run [PATH_TO_STD]`

Runs a single Standard code file (`.std`) at the specified path.

### `share [PATH_TO_FILE]`

Makes the specified file publicly available on the relay so other users can access it.

### `tree [DIR]`

Returns a JSON manifest of the given directory. If no `DIR` is provided, defaults to `/home/standard-system/`.

## Relay & Networking

### `map IP CHIT_VALUE`

Adds the given `IP` address as a child node in the config, authenticated with `CHIT_VALUE`.

### `relay`

Lists all clients currently connected to the relay, showing each client's IP address and device ID.

### `relay ping [IP || DEVICE_ID]`

Returns `true` if the specified device is currently connected to the relay, or `false` if it is not.

### `relay chit [DEVICE_ID || USER_ID]`

Creates a new Chit (authentication token) for the specified device or user.

### `relay [IP || SERIAL] ~ CHIT ~ COMMAND`

Runs the given `COMMAND` on a remote device identified by its IP address or serial number, authenticated with `CHIT`, and returns the result.

## Authentication

### `user USER_ID CHIT`

Returns `true` if the given `USER_ID` and `CHIT` match a record in the chits authentication store, or `false` if they do not. Use this to validate user credentials programmatically.

## History

### `history`

Opens the CLI command history in `nano` for review.

### `history -c`

Clears the CLI command history.

## Applications

### `launch [PACKAGE_SYS_NAME]`

Launches the installed application with the given system name.
