> ## Documentation Index
> Fetch the complete documentation index at: https://namespace.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# nsc instance download

Download a file from an instance.

`instance download` copies a file from a Namespace instance to your local machine.

## Usage

```bash theme={null}
nsc instance download [instance-id] <remote-path> [local-path]
```

### Example

Download a file from an instance:

```bash theme={null}
nsc instance download 85a32emcg99ii /var/log/app.log ./app.log
```

```text nocopy Output theme={null}
Downloaded /var/log/app.log (342 KiB). Took 2.3s.
```

## Options

<h3 id="--container_name--c-name">
  \--container\_name, -c \<name>
</h3>

Target a container by name.

<h3 id="--mkdir">
  \--mkdir
</h3>

Create parent directories locally if they don't exist.
