---
title: Update
url: https://docs.vultr.com/reference/vultr-cli/script/update
description: Updates an existing startup script in your Vultr account with new content, name, type, or other attributes.
publish_date: 2025-09-14T03:08:55.435379Z
last_updated: 2025-11-07T17:51:55.464266Z
---

The `vultr-cli script update` command updates an existing script in your Vultr account with new content, name, or type based on the provided parameters.

## Usage

```console
$ vultr-cli script update <Script ID> [flags]
```

## Flags
| Shorthand | Long Version | Description |
|-----------|--------------|-------------|
| -n | --name | Name of the startup script. |
| -s | --script | Startup script contents. |
| -t | --type | Type of startup script. Possible values: `boot`, `pxe`. Default is `boot`. |