Skip to content

Installation

LogTape is available on JSR and npm. You can install LogTape for various JavaScript runtimes and package managers:

sh
deno add @logtape/logtape
sh
npm add @logtape/logtape
sh
pnpm add @logtape/logtape
sh
yarn add @logtape/logtape
sh
bun add @logtape/logtape

NOTE

Although JSR supports Node.js and Bun, we recommend to install LogTape from JSR only for Deno. For Node.js and Bun, we recommend to install LogTape from npm.

In case you want to install an unstable version of LogTape:

sh
npm add @logtape/logtape@dev
sh
pnpm add @logtape/logtape@dev
sh
yarn add @logtape/logtape@dev
sh
bun add @logtape/logtape@dev

NOTE

Although JSR supports unstable releases, there is currently no way to install the latest unstable version of a package using deno add; instead, you need to specify the specific version number of the unstable release:

sh
deno add @logtape/logtape@1.2.3-dev.4  # Replace 1.2.3-dev.4 with the actual version number