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

# Manage a subnet

> Create, inspect, update, and delete subnets.

Use `idyl subnet` to manage subnets for the current account.

## 1. List subnets

```bash theme={null}
idyl subnet list
```

## 2. Create a subnet

List the regions available for subnet placement:

```bash theme={null}
idyl region list
```

Interactive:

```bash theme={null}
idyl subnet create
```

Non-interactive:

```bash theme={null}
idyl subnet create --region us-east
```

Add a description when you want one:

```bash theme={null}
idyl subnet create --region us-east --description "Production inference"
```

Add runtime policy when the subnet should accept only specific workload
isolation classes:

```bash theme={null}
idyl subnet create --region us-east --allowed-isolation-class microvm --default-isolation-class microvm
```

For policy choices and scheduling behavior, see
[Configure runtime policy](/operate/configure-runtime-policy).

## 3. Show subnet details

```bash theme={null}
idyl subnet get <subnet>
```

Use the current context subnet:

```bash theme={null}
idyl subnet show
```

## 4. Set the subnet for future workload commands

```bash theme={null}
idyl context edit --set-subnet <subnet>
```

## 5. Update the description

```bash theme={null}
idyl subnet edit <subnet> --set-description "Production inference"
```

## 6. Update runtime policy

```bash theme={null}
idyl subnet edit <subnet> --allowed-isolation-class microvm --default-isolation-class microvm
```

Clear runtime policy:

```bash theme={null}
idyl subnet edit <subnet> --clear-runtime-policy
```

## 7. Delete a subnet

```bash theme={null}
idyl subnet delete <subnet>
```

For non-interactive deletion:

```bash theme={null}
idyl subnet delete <subnet> --yes
```
