---
title: Change
url: https://docs.vultr.com/reference/vultr-cli/bare-metal/os/change
description: Change the operating system on a Vultr Bare Metal instance while preserving primary disk data.
publish_date: 2025-09-14T03:01:19.244500Z
last_updated: 2025-11-07T17:39:04.395230Z
---

The `vultr-cli bare-metal os change` command allows you to change the operating system on an existing Bare Metal server in your Vultr account.

## Usage

```console
$ vultr-cli bare-metal os change <Bare Metal ID> [flags]
```

## Flags
| Shorthand | Long Version | Description |
|-----------|--------------|-------------|
| -o | --os | ID of the operating system that will be installed on the server |