Usage

July 31, 2026 ยท View on GitHub

Sentry

Sentry Wizard

The Sentry Wizard helps you set up your React Native, Flutter, Apple, Android, Cordova, Electron, Next.js, Nuxt, Remix or SvelteKit projects with Sentry.

npm version npm dm npm dt Discord Chat

GitHub Actions Codecov

Wizard in action

Usage

There are multiple ways to run the Wizard.

  1. Install globally and run it anywhere:
npm install -g @sentry/wizard
# or
yarn global add @sentry/wizard

sentry-wizard
  1. Install and run it in your project with yarn:
yarn add @sentry/wizard
yarn sentry-wizard
  1. Run it directly without installing:
npx @sentry/wizard

With pnpm:

pnpx @sentry/wizard@latest

pnpm 11

pnpm 11 requires explicit approval before dependencies can run build scripts. If the Wizard's package installation fails with ERR_PNPM_IGNORED_BUILDS, review the packages listed by pnpm and run approve-builds before re-running the Wizard:

pnpm approve-builds [package-names-to-approve]

Support

At the current moment, the wizard can be used for Next.js, react-native, iOS, Flutter, Nuxt, Remix, Sveltekit, Android, Electron, Cordova, and for sourcemaps setup. If you have other platforms you would like the wizard to support, please open a GitHub issue!

Options

The following CLI arguments are available:

OptionDescriptionTypeDefaultChoicesEnvironment Variable
--helpShow helpboolean
--versionShow version numberboolean
--debugEnable verbose loggingbooleanfalseSENTRY_WIZARD_DEBUG
--uninstallRevert project setup process. Not available for all integrations.booleanfalseSENTRY_WIZARD_UNINSTALL
--skip-connectSkips the connection to the serverbooleanfalseSENTRY_WIZARD_SKIP_CONNECT
--quietDo not fallback to prompting user asking questionsbooleanfalseSENTRY_WIZARD_QUIET
-i, --integrationChoose the integration to setupchoicesSelect integration during setup"reactNative", "flutter", ios", "android", "cordova", "angular", "electron", "nextjs", "nuxt", "remix", "sveltekit", "sourcemaps"SENTRY_WIZARD_INTEGRATION
-p, --platformChoose platform(s)arraySelect platform(s) during setup"ios", "android"SENTRY_WIZARD_PLATFORM
-u, --urlThe URL to your Sentry installationstringhttps://sentry.ioSENTRY_WIZARD_URL
--projectThe Sentry project slug to usestringSelect project during setup
--orgThe Sentry org slug to usestringSelect org during setup
--saasSkip the self-hosted or SaaS URL selection processbooleanSelect self-hosted or SaaS during setup
-s, --signupRedirect to signup page if not logged inbooleanfalse
--disable-telemetryDon't send telemetry data to Sentrybooleanfalse
--force-installForce install the SDK NPM package (use with caution!)booleanfalse
--coming-fromSpecify the partner organization initiating this command.string
--ignore-git-changesIgnore git changes in the project and not prompt for confirmationbooleanfalse

Resources

  • Forum
  • Discord
  • Stack Overflow
  • Twitter Follow