> ## 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 extend

Extends the duration of an instance.

`extend` prolongs the duration of an existing instance.

## Usage

```bash theme={null}
nsc extend [--duration <duration>] [--ensure_minimum <duration>]
```

### Example

#### 1. Create an ephemeral instance

Create an ephemeral instance and note its ID:

```bash theme={null}
nsc create
```

```text nocopy Output theme={null}
  Created new ephemeral environment! ID: s6h6i70uk2nqe
```

#### 2. Extend the instance duration

Ensure that the instance remains available for at least eight hours:

```bash theme={null}
nsc extend s6h6i70uk2nqe --ensure_minimum 8h
```

```text nocopy Output theme={null}
New deadline: 2024-08-09T19:29:09.296810204Z
```

## Options

### --duration \<duration>

Extend the duration of the target instance by this duration.

### --ensure\_minimum \<duration>

Ensure that the target instance has a minimum of the specified duration.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.