# RedisResource.withRepl

- Module: [Aspire.Hosting.Redis](/reference/api/typescript/aspire.hosting.redis.md)
- Defined on: [RedisResource](/reference/api/typescript/aspire.hosting.redis/redisresource.md)
- Version: `13.6.0`
- Kind: `method`

Adds a REPL command that opens an authenticated Redis shell in the dashboard terminal dock.

## Definition

```typescript
interface RedisResource {
  // ... omitted for brevity
  withRepl(): RedisResource;
}
```

## Signature

```typescript
withRepl(): RedisResource
```

## Returns

[RedisResource](/reference/api/typescript/aspire.hosting.redis/redisresource.md) `builder`

## Defined on

- [RedisResource](/reference/api/typescript/aspire.hosting.redis/redisresource.md) -- `handle`
