# withRepl

- Module: [Aspire.Hosting.Redis](/reference/api/typescript/aspire.hosting.redis.md)
- Version: `13.6.0`
- Kind: `method`
- Source: [GitHub](https://github.com/microsoft/aspire/tree/f4c27f2d43ddc1cacd0dd083b30d1fea1cee7a62)

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

## Definition

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

## Returns

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

## Applies to

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