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

# inferless runtime

Is can be used to list runtimes and create new runtimes.

**Usage**:

```console theme={null}
$ inferless runtime COMMAND [OPTIONS]  [ARGS]...
```

**Commands**:

* `generate`: use to generate a new runtime from your virtual env
* `list`: list all runtimes.
* `create [options]`: create runtime on inferless with yaml.
* `patch [options]`: Create a new version of runtime with modified packages using yaml.
* `version-list`: Use to list all version of the runtime in Inferless.

## Example

**Usage**:

Generate a new runtime from your local environment.

Activate you virtual environment and then run

```console theme={null}
$ inferless runtime generate
```

create runtime in the workspace

```console theme={null}
$ inferless runtime create -p path/to/file -n name
```

list all the runtime in the workspace.

```console theme={null}
$ inferless runtime list
```

Create a new version of runtime with modified packages using yaml

```console theme={null}
$ inferless runtime patch -p path/to/file
```

list the runtime versions

```console theme={null}
$ inferless runtime version-list
```
