---
name: "glab-opentofu-state-download"
section: "1"
platform: "linux"
package: "glab"
version: "1.126.0-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/glab-opentofu-state-download"
---

# glab-opentofu-state-download(1)

Download the given state and output as JSON to stdout.

## NAME

glab-opentofu-state-download - Download the given state and output as JSON to stdout.

## SYNOPSIS

**glab opentofu state download  \[\] \[flags\]**

## DESCRIPTION

Downloads the latest serial version if no serial is specified.

## OPTIONS INHERITED FROM PARENT COMMANDS

**-h**, **--help**\[=false\]\
 	Show help for this command.

**-R**, **--repo**=""\
 	Select another repository. You can use either OWNER/REPO or GROUP/NAMESPACE/REPO. The full URL or Git URL is also accepted.

## EXAMPLE

```
# Download the latest serial of the state production
glab opentofu state download production
# Download the serial 42 of the state production
glab opentofu state download production 42
```

## SEE ALSO

**[glab-opentofu-state(1)](/glab-opentofu-state/1.md)**
