---
id: device-set-content-index
title: set-content
sidebar_position: 2013
---
# set-content

Deploy applet to device


## Description

Deploys an applet to a specific device by creating a timing configuration
that activates the specified applet version on the target device. This command
establishes the applet-to-device relationship for production deployment.

## Usage

```bash
sos device set-content [options]
```

## Options

| Option                      | Description                                                                               |
| --------------------------- | ----------------------------------------------------------------------------------------- |
| `--no-default-organization` | Prevent using the defaultOrganizationUid from ~/.sosrc (boolean)                          |
| `--organization-uid`        | Organization UID (string)                                                                 |
| `--applet-uid`              | Applet UID (string)                                                                       |
| `--device-uid`              | Device UID (string)                                                                       |
| `--yes`                     | Skip selection prompts (requires explicit device-uid and applet-uid for safety) (boolean) |

## Examples

```bash
# Deploy applet to device (interactive, allows selection if multiple versions exist)
sos device set-content --device-uid device123 --applet-uid my-applet

# Skip selection prompts (requires explicit UIDs, fails if multiple versions)
sos device set-content --device-uid device123 --applet-uid my-applet --yes

# Deploy with organization override
sos device set-content --device-uid device123 --applet-uid my-applet --organization-uid org456
```

## Since

0.9.0

## Global Options

All commands support the following global options:

| Option | Alias | Description |
|--------|-------|-------------|
| `--help` | `-h` | Display help information for any command |
| `--version` | `-v` | Display the installed version of the CLI |
| `--api-url` | `-u` | Override the API URL for REST requests |
| `--profile` | | Use a specific profile from ~/.sosrc config |

### Examples

```bash
# Show version
sos --version

# Get help for any command
sos applet --help
sos applet upload --help

# Use custom API endpoint
sos --api-url https://api.example.com applet upload

# Use specific profile
sos --profile production organization list
```
