# ed machines thermal set

> ed machines thermal set changes the Linux platform profile or Windows power scheme. With no duration it stays selected until another choice is applied.

- Canonical URL: https://getedith.pro/docs/cli/machines-thermal/set
- Updated: 2026-12-02

`ed machines thermal set <machine> <profile>` changes the Linux platform profile
or Windows power scheme. With no duration it stays selected until another choice
is applied.

```
ed machines thermal set <machine> <profile> [--minutes <count>] [--json]
```

| Name | Type / values | Default | What it does |
| --- | --- | --- | --- |
| `<machine>` | machine name, SSH alias, UUID or unambiguous prefix | required | Which machine to change. |
| `<profile>` | an exact choice reported by the machine | required | Profile to apply. Names are case-sensitive. |
| `--minutes` | integer from `0` through `10080` | `0` | Revert after this many minutes. Zero keeps the profile until changed. |
| `--json` | flag | off | Emit one result object on stdout. |

```sh
ed machines thermal set devbox performance
ed machines devbox thermal set performance --minutes 30
ed machines thermal set devbox balanced --json
```

`--minutes <count>` schedules a reversion to the profile that was active before
the first temporary change. It accepts 0 through 10080 minutes. Zero means
until changed. The app offers 15 minutes, 30 minutes, 1 hour, 2 hours and until
changed.

Before writing anything, the command reads the machine's choices and refuses a
profile that is not in that list. A permanent change cancels a pending timed
reversion. A second temporary change replaces the timer while preserving the
original destination.

JSON returns `machine`, `profile`, `temporary` and `minutes`:

```json
{
  "machine": "Devbox",
  "minutes": 30,
  "profile": "performance",
  "temporary": true
}
```

The command first performs the same 15-second read as `status`, then gives the
write 30 seconds. `--minutes` outside the accepted range exits 2 before the
machine is resolved. An unknown profile exits 3 and lists the machine's valid
choices. An unknown or ambiguous machine also exits 3. An unreachable machine
or missing readable platform profile support exits 4.

After validation, any remote write failure exits 1. On Linux this includes a
refused sudo password, missing write privilege, or `systemd-run` failure. Windows
uses `powercfg` and a hidden user-owned PowerShell process for timed reversion. A
later profile change cancels the prior Windows reversion process.

[Back to `ed machines thermal`](https://getedith.pro/docs/cli/machines-thermal) or [all CLI commands](https://getedith.pro/docs/cli).

## Get Edith

Edith is a native Mac app for macOS 14 or later on Apple silicon with 100+ extensions, the `ed` command line and an MCP server. $35 once for one Mac, plus $7 for each additional Mac, with no subscription and a 30-day refund.

- [Buy Edith](https://getedith.pro/pricing): $35 once for one Mac, plus $7 for each additional Mac
- [Download Edith](https://getedith.pro/download): the installer, or Homebrew
