Back to Blog Home

Install Sentry with a Single Command

Rahul Chhabria image

Rahul Chhabria -

Install Sentry with a Single Command

We’re creating a new way to install and set up Sentry. Starting with Next.js, you’ll be able to set up new Sentry accounts or create new Sentry Next.js projects via the terminal and running a single command.

Getting started is simple(r). While you can still visit sentry.io/signup to create an account or create a project from within the app – now you can skip all the clicks, navigate to your repo and run this command.

npx @sentry/wizard -s -i nextjs

Once the script kicks off, we’ll open a browser tab pointing you to the sign up form -- add your info and return back to the terminal only to see the installation is complete. This new method automatically adds any Sentry specific requirements to your next.config.js file and creates any other necessary files that we need to start tracking exceptions and latency issues. Don't belive me? git status and take alook for yourself.

To test if your Sentry configuration is ready to go, you can trigger an error locally or deploy the changes to start capturing exceptions and slow transactions.

Thats it. 1 command (npx @sentry/wizard -s -i nextjs) to Get started with Sentry for Next.js. Drop us a line on GitHub, Twitter, or our Discord and let us know what you think.

Share

Share on Twitter
Share on Facebook
Share on HackerNews
Share on LinkedIn

Published

Sentry Sign Up CTA

Code breaks, fix it faster

Sign up for Sentry and monitor your application in minutes.

Try Sentry Free

Topics

SDK Updates

New product releases and exclusive demos

Listen to the Syntax Podcast

Of course we sponsor a developer podcast. Check it out on your favorite listening platform.

Listen To Syntax
    TwitterGitHubDribbbleLinkedinDiscord
© 2024 • Sentry is a registered Trademark of Functional Software, Inc.