Skip to content

Installation

Add Deserve to a Deno project in one command, then move on to the ideas behind it in Core Concepts, starting with the philosophy and zero dependency approach.

Prerequisites

  • Deno 2.8.3+ installed

Staying on the latest Deno release is a good idea, since Deserve runs on the runtime and every performance update to Deno carries straight through to Deserve.

Install Deserve

Deno's package manager adds Deserve to the project. This command writes the dependency into deno.json and generates deno.lock:

bash
deno add jsr:@neabyte/deserve

The command does three things:

  • Adds Deserve to the deno.json imports
  • Creates or updates the deno.lock file
  • Makes Deserve available for import

With Deserve installed, the Quick Start builds a first server and route, and File-based Routing explains how the folder structure becomes the API.

Released under the MIT License.