Visitar URL original
docs(Getting-Started): Install section only documents npm and yarn · Issue #6983 · fastify/fastify · GitHub
Skip to content

docs(Getting-Started): Install section only documents npm and yarn #6983

Open

Description

@kamruj-akash

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

The Install section of the Getting Started guide (docs/Guides/Getting-Started.md) documents only two package managers — npm i fastify and yarn add fastify.

Two of the most widely used package managers today, pnpm and bun, are missing. Because the guide enumerates package managers explicitly rather than saying "install it with your package manager of choice", the omission reads as "these are not supported" — which is exactly the impression that sent me looking.

Both work fine. Verified locally with bun 1.3.13:

$ bun add fastify
bun add v1.3.13
installed fastify@5.12.1
49 packages installed [1.65s]

A minimal server also boots and responds normally with that install.

To be explicit about scope: this is only about documenting how the package is installed with common package managers. It is not a request to treat Bun as a supported runtime — I'm aware of the project's position on that (see #5597).

Proposed change

Add two blocks to the Install section alongside the existing ones:

Install with pnpm:

pnpm add fastify

Install with bun:

bun add fastify

Happy to open a PR if this is welcome.

Activity

  1. Shreya657 commented on Sep 2, 2026

    @Shreya657

    Hi! I opened a PR implementing the proposed documentation change by adding pnpm add fastify and bun add fastify to the Getting Started installation section.

    A reviewer on the PR noted that maintainer confirmation on the issue is needed before proceeding. Could a maintainer confirm whether this documentation change is wanted?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions