# withRepl

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

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)
