Skip to main content

Getting the Deno version

Last updated: 2025-01-23

How to examine the version of Deno being used.

Edit on Github
To print the current version of Deno, just reach into the Deno global object where all non-web-standard APIs reside.
console.log("Current Deno version", Deno.version.deno);
Deno has two main dependencies: the V8 JavaScript engine (from the Chrome web browser) and the TypeScript compiler. The versions of these are also accessible in the `Deno.version` object.
console.log("Current TypeScript version", Deno.version.typescript);
console.log("Current V8 version", Deno.version.v8);

Run this example locally using the Deno CLI:

deno run https://docs.deno.com/examples/scripts/deno_version.ts

Additional resources

Did you find what you needed?

Privacy policy