Skip to content
DocsTry Aspire
DocsTry

Prerequisites

Ready to dive into Aspire? Before you begin, make sure your development environment is set up with a few essential tools. This guide walks you through everything you need to start building and running Aspire solutions with confidence.

  1. Aspire’s TypeScript AppHost requires a supported Node.js release: Node.js 20.19+, 22.13+, or 24+. When you run aspire init, the CLI writes this engine range into the scaffolded package.json:

    package.json
    {
    "engines": {
    "node": "^20.19.0 || ^22.13.0 || >=24"
    }
    }

    It also requires a supported AppHost-root package manager: npm (default, included with Node.js), pnpm, Yarn 4+ (Berry), or Bun. Yarn Classic (v1) is not supported. The Aspire CLI auto-detects the active toolchain from your package.json packageManager field or from lockfiles in your project directory or parent directories.

    Follow the Node.js installation instructions for your operating system (Windows, macOS, or Linux) to complete the setup. If you use an alternative package manager, install it separately:

  2. Install an OCI-compliant container runtime

    Section titled “Install an OCI-compliant container runtime”

    Choose one runtime for local container support. Docker Desktop is the recommended default for most Aspire developers.

    Recommended defaultInstall Docker Desktop

    A familiar and widely supported environment for building and running containers.

  3. Install an integrated development environment (IDE)

    Section titled “Install an integrated development environment (IDE)”

    Aspire supports multiple IDEs and code editors. You can choose the one that best fits your workflow:

    Visual Studio Code with the Aspire extension is the recommended environment for TypeScript AppHosts.

Consider alternatives to local installation (Optional)

Section titled “Consider alternatives to local installation (Optional)”

If you prefer not to install the prerequisites on your local machine, you can develop Aspire solutions using cloud-based options like GitHub Codespaces or Dev Containers. These options allow you to work in a cloud-based environment, eliminating the need for local installations, but may not provide the same performance as local installations.

The Aspire team maintains a GitHub Codespaces (with preconfigured Dev Container) configuration to help you get started quickly:

Open microsoft/aspire-devcontainer in GitHub Codespaces