Official Sentry SDK for SvelteKit
npm install @sentry/sveltekit


The minimum supported version of SvelteKit is 2.0.0. The SDK works best with Vite 4.2 and newer. Older Vite versions
might not generate source maps correctly.
Check our docs for SvelteKit adapter compatibility.
This package is a wrapper around @sentry/node for the server and @sentry/svelte for the client side, with added
functionality related to SvelteKit.
To get started installing the SDK, use the Sentry Next.js Wizard by running the following command in your terminal or
read the Getting Started Docs:
``sh``
npx @sentry/wizard@latest -i sveltekit
The wizard will guide you throuhg logging in to Sentry and setting up the SDK. After the wizard setup is completed, the SDK will automatically capture
unhandled errors, and optionally, traces and replays.
- Official SDK Docs
- Sentry.io
- Sentry Discord Server
- Stack Overflow