---
id: custom-script-upload-index
title: upload
sidebar_position: 1032
---
# upload

Upload custom script to the signageOS platform


## Description

Uploads custom script code and configuration to signageOS platform from `.sosconfig.json`.
Creates/updates script, uploads platform-specific files, and provides script UID for execution.

May prompt for confirmation when creating new scripts or versions.
Use `--yes` to skip prompts for automated deployments.

## Usage

```bash
sos custom-script upload [options]
```

## Options

| Option                      | Description                                                                                 |
| --------------------------- | ------------------------------------------------------------------------------------------- |
| `--no-default-organization` | Prevent using the defaultOrganizationUid from ~/.sosrc (boolean)                            |
| `--organization-uid`        | Organization UID (string)                                                                   |
| `--yes`                     | Allow to upload new custom script or create new version without confirmation step (boolean) |

## Examples

```bash
# Upload interactively
sos custom-script upload

# Skip confirmations (CI/CD)
sos custom-script upload --yes

# Specific organization
sos custom-script upload --organization-uid abc123def456
```

## Since

1.8.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
```


## See Also

- [Documentation](https://developers.signageos.io/docs/custom-scripts/)
- [REST API](https://developers.signageos.io/api/#tag/DeviceCustom-Script)
- [Generate command](../generate/)