# BunAppResource

- Module: [CommunityToolkit.Aspire.Hosting.Bun](/reference/api/typescript/communitytoolkit.aspire.hosting.bun.md)
- Version: `13.5.0`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/4ff8268fbd97ddd23cb73dc8eff9cc92718156d1)

## Definition

```typescript
interface BunAppResource
  extends IComputeResource,
    IResource,
    IResourceWithArgs,
    IResourceWithEndpoints,
    IResourceWithEnvironment,
    IResourceWithProbes,
    IResourceWithWaitSupport {
  withBunPackageInstallation(): BunAppResource;
}
```

## Methods

- [withBunPackageInstallation](/reference/api/typescript/communitytoolkit.aspire.hosting.bun/bunappresource/withbunpackageinstallation.md) -- `method` -- Ensures the Bun packages are installed before the application starts using Bun as the package manager.
    ```typescript
  withBunPackageInstallation(): BunAppResource
  ```
