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

> ## Agent Instructions
> This page is part of the Solana developer documentation at https://solana.com/developers/docs. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get the page as Markdown.
> Index of all pages: https://solana.com/llms.txt. Per-section indexes such as https://solana.com/developers/docs/payments/llms.txt are smaller; prefer them when working on one task.
> Coding agents: install the official Solana skill for current APIs and conventions with `npx skills add https://github.com/solana-foundation/solana-dev-skill` (also served at https://solana.com/SKILL.md).
> Code in the cookbook and task pages comes from tested example files. Prefer it over writing API calls from memory.

# LiteSVM

> Solana program testing with an in-process VM. Test your programs faster without network overhead or validator processes.

LiteSVM is a lightweight library for testing Solana programs that works by
creating an in-process Solana VM optimized for program developers. Unlike other
testing approaches that spin up separate validator processes, LiteSVM embeds the
VM inside your tests, making them execute much faster. In a further break from
tradition, it has an ergonomic API with sane defaults and extensive
configurability for those who want it.

## Getting Started

<Columns cols={2}>
  <Card title="Getting Started" href="/developers/docs/tools/litesvm/getting-started">
    Install LiteSVM and write your first tests.
  </Card>
  <Card title="Why LiteSVM" href="/developers/docs/tools/litesvm/core-concepts">
    Learn why you would want to use LiteSVM for testing.
  </Card>
</Columns>

## Rust

<Columns cols={2}>
  <Card title="Testing Your Program" href="/developers/docs/tools/litesvm/testing-your-program">
    Learn how to test your own Solana program.
  </Card>
  <Card title="Examples" href="/developers/docs/tools/litesvm/examples">
    Copy-paste solutions for common scenarios and full repository examples.
  </Card>
  <Card title="API Reference" href="/developers/docs/tools/litesvm/api-reference">
    Learn advanced features and custom configurations.
  </Card>
  <Card title="Additional Crates" href="/developers/docs/tools/litesvm/additional-crates/testing-with-litesvm-utils">
    Helper crates for utils, SPL tokens, the loader, and Anchor testing.
  </Card>
</Columns>

## TypeScript

<Columns cols={2}>
  <Card title="Getting Started" href="/developers/docs/tools/litesvm/typescript/getting-started">
    Use LiteSVM through @solana/kit in your TypeScript tests.
  </Card>
  <Card title="Token Testing" href="/developers/docs/tools/litesvm/typescript/tokens">
    Test SPL tokens with the tokenProgram() plugin.
  </Card>
  <Card title="API Reference" href="/developers/docs/tools/litesvm/typescript/api-reference">
    Learn advanced features and custom configurations.
  </Card>
  <Card title="Examples" href="/developers/docs/tools/litesvm/typescript/examples">
    Copy-paste solutions for common scenarios.
  </Card>
</Columns>

## Go

<Columns cols={2}>
  <Card title="Getting Started" href="/developers/docs/tools/litesvm/go/getting-started">
    Use LiteSVM from Go with litesvm-go.
  </Card>
  <Card title="API Reference" href="/developers/docs/tools/litesvm/go/api-reference">
    Look up every litesvm-go method.
  </Card>
  <Card title="Examples" href="/developers/docs/tools/litesvm/go/examples">
    Run complete Go tests for common scenarios.
  </Card>
</Columns>

## Resources

- [crates.io](https://crates.io/crates/litesvm) - The LiteSVM Rust crate
- [npm](https://www.npmjs.com/package/@solana/kit-plugin-litesvm) - The
  @solana/kit LiteSVM plugin
- [GitHub](https://github.com/LiteSVM/litesvm) - View the source code
- [litesvm-go](https://github.com/LiteSVM/litesvm-go) - The Go binding
