Skip to content

Commit 7944aae

Browse files
Deploy preview for PR 946 🛫
1 parent dd3fdaf commit 7944aae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

_preview/pr-946/getting-started/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,9 +249,9 @@
249249
<div class="expressive-code"><figure class="frame is-terminal not-content"><figcaption class="header"><span class="title"></span><span class="sr-only">Terminal window</span></figcaption><pre data-language="bash"><code><div class="ec-line"><div class="code"><span style="--0:#B392F0">brew</span><span style="--0:#E1E4E8"> </span><span style="--0:#9ECBFF">install</span><span style="--0:#E1E4E8"> </span><span style="--0:#9ECBFF">getsentry/tools/sentry</span></div></div></code></pre><div class="copy"><div aria-live="polite"></div><button title="Copy to clipboard" data-copied="Copied!" data-code="brew install getsentry/tools/sentry"><div></div></button></div></figure></div>
250250
<div class="sl-heading-wrapper level-h3"><h3 id="package-managers">Package Managers</h3><a class="sl-anchor-link" href="#package-managers"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24"><path fill="currentcolor" d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 0 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 1 0-1.42-1.42Zm8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 0 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 1 0 1.42 1.42l3.88-3.89a4.49 4.49 0 0 0 0-6.33ZM8.83 15.17a1 1 0 0 0 1.1.22 1 1 0 0 0 .32-.22l4.92-4.92a1 1 0 0 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42Z"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “Package Managers”</span></a></div>
251251
<p>Install globally with your preferred package manager:</p>
252-
<div class="pm-code astro-ehimbizw" data-id="pm-l3rvc5cgy"> <div class="pm-header astro-ehimbizw"> <div class="pm-tabs astro-ehimbizw"> <button class="pm-tab active astro-ehimbizw" data-pm="npm">npm</button> <button class="pm-tab astro-ehimbizw" data-pm="pnpm">pnpm</button> <button class="pm-tab astro-ehimbizw" data-pm="yarn">yarn</button> <button class="pm-tab astro-ehimbizw" data-pm="bun">bun</button> </div> <button class="pm-copy astro-ehimbizw" aria-label="Copy to clipboard"> <span class="pm-copied astro-ehimbizw">Copied!</span> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="astro-ehimbizw"> <rect width="14" height="14" x="8" y="8" rx="2" ry="2" class="astro-ehimbizw"></rect> <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" class="astro-ehimbizw"></path> </svg> </button> </div> <div class="pm-content astro-ehimbizw"> <pre class="pm-pre astro-ehimbizw" data-pm="npm"><code class="astro-ehimbizw">npm install -g sentry</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="pnpm" hidden><code class="astro-ehimbizw">pnpm add -g sentry</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="yarn" hidden><code class="astro-ehimbizw">yarn global add sentry</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="bun" hidden><code class="astro-ehimbizw">bun add -g sentry</code></pre> </div> </div> <script type="module">document.querySelectorAll(".pm-code").forEach(t=>{const i=t.querySelectorAll(".pm-tab"),a=t.querySelectorAll(".pm-pre"),r=t.querySelector(".pm-copy");i.forEach(c=>{c.addEventListener("click",()=>{const o=c.getAttribute("data-pm");i.forEach(e=>e.classList.remove("active")),c.classList.add("active"),a.forEach(e=>{e.getAttribute("data-pm")===o?e.removeAttribute("hidden"):e.setAttribute("hidden","")})})}),r?.addEventListener("click",async()=>{const o=t.querySelector(".pm-pre:not([hidden])")?.querySelector("code")?.textContent||"";await navigator.clipboard.writeText(o),r.classList.add("copied"),setTimeout(()=>r.classList.remove("copied"),2e3)})});</script>
252+
<div class="pm-code astro-ehimbizw" data-id="pm-d8spk2hgt"> <div class="pm-header astro-ehimbizw"> <div class="pm-tabs astro-ehimbizw"> <button class="pm-tab active astro-ehimbizw" data-pm="npm">npm</button> <button class="pm-tab astro-ehimbizw" data-pm="pnpm">pnpm</button> <button class="pm-tab astro-ehimbizw" data-pm="yarn">yarn</button> <button class="pm-tab astro-ehimbizw" data-pm="bun">bun</button> </div> <button class="pm-copy astro-ehimbizw" aria-label="Copy to clipboard"> <span class="pm-copied astro-ehimbizw">Copied!</span> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="astro-ehimbizw"> <rect width="14" height="14" x="8" y="8" rx="2" ry="2" class="astro-ehimbizw"></rect> <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" class="astro-ehimbizw"></path> </svg> </button> </div> <div class="pm-content astro-ehimbizw"> <pre class="pm-pre astro-ehimbizw" data-pm="npm"><code class="astro-ehimbizw">npm install -g sentry</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="pnpm" hidden><code class="astro-ehimbizw">pnpm add -g sentry</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="yarn" hidden><code class="astro-ehimbizw">yarn global add sentry</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="bun" hidden><code class="astro-ehimbizw">bun add -g sentry</code></pre> </div> </div> <script type="module">document.querySelectorAll(".pm-code").forEach(t=>{const i=t.querySelectorAll(".pm-tab"),a=t.querySelectorAll(".pm-pre"),r=t.querySelector(".pm-copy");i.forEach(c=>{c.addEventListener("click",()=>{const o=c.getAttribute("data-pm");i.forEach(e=>e.classList.remove("active")),c.classList.add("active"),a.forEach(e=>{e.getAttribute("data-pm")===o?e.removeAttribute("hidden"):e.setAttribute("hidden","")})})}),r?.addEventListener("click",async()=>{const o=t.querySelector(".pm-pre:not([hidden])")?.querySelector("code")?.textContent||"";await navigator.clipboard.writeText(o),r.classList.add("copied"),setTimeout(()=>r.classList.remove("copied"),2e3)})});</script>
253253
<p>Or run directly without installing:</p>
254-
<div class="pm-code astro-ehimbizw" data-id="pm-9rq8933ee"> <div class="pm-header astro-ehimbizw"> <div class="pm-tabs astro-ehimbizw"> <button class="pm-tab active astro-ehimbizw" data-pm="npm">npm</button> <button class="pm-tab astro-ehimbizw" data-pm="pnpm">pnpm</button> <button class="pm-tab astro-ehimbizw" data-pm="yarn">yarn</button> <button class="pm-tab astro-ehimbizw" data-pm="bun">bun</button> </div> <button class="pm-copy astro-ehimbizw" aria-label="Copy to clipboard"> <span class="pm-copied astro-ehimbizw">Copied!</span> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="astro-ehimbizw"> <rect width="14" height="14" x="8" y="8" rx="2" ry="2" class="astro-ehimbizw"></rect> <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" class="astro-ehimbizw"></path> </svg> </button> </div> <div class="pm-content astro-ehimbizw"> <pre class="pm-pre astro-ehimbizw" data-pm="npm"><code class="astro-ehimbizw">npx sentry --help</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="pnpm" hidden><code class="astro-ehimbizw">pnpm dlx sentry --help</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="yarn" hidden><code class="astro-ehimbizw">yarn dlx sentry --help</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="bun" hidden><code class="astro-ehimbizw">bunx sentry --help</code></pre> </div> </div>
254+
<div class="pm-code astro-ehimbizw" data-id="pm-5v7q7ulok"> <div class="pm-header astro-ehimbizw"> <div class="pm-tabs astro-ehimbizw"> <button class="pm-tab active astro-ehimbizw" data-pm="npm">npm</button> <button class="pm-tab astro-ehimbizw" data-pm="pnpm">pnpm</button> <button class="pm-tab astro-ehimbizw" data-pm="yarn">yarn</button> <button class="pm-tab astro-ehimbizw" data-pm="bun">bun</button> </div> <button class="pm-copy astro-ehimbizw" aria-label="Copy to clipboard"> <span class="pm-copied astro-ehimbizw">Copied!</span> <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="astro-ehimbizw"> <rect width="14" height="14" x="8" y="8" rx="2" ry="2" class="astro-ehimbizw"></rect> <path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" class="astro-ehimbizw"></path> </svg> </button> </div> <div class="pm-content astro-ehimbizw"> <pre class="pm-pre astro-ehimbizw" data-pm="npm"><code class="astro-ehimbizw">npx sentry --help</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="pnpm" hidden><code class="astro-ehimbizw">pnpm dlx sentry --help</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="yarn" hidden><code class="astro-ehimbizw">yarn dlx sentry --help</code></pre> <pre class="pm-pre astro-ehimbizw" data-pm="bun" hidden><code class="astro-ehimbizw">bunx sentry --help</code></pre> </div> </div>
255255
<div class="sl-heading-wrapper level-h2"><h2 id="authentication">Authentication</h2><a class="sl-anchor-link" href="#authentication"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24"><path fill="currentcolor" d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 0 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 1 0-1.42-1.42Zm8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 0 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 1 0 1.42 1.42l3.88-3.89a4.49 4.49 0 0 0 0-6.33ZM8.83 15.17a1 1 0 0 0 1.1.22 1 1 0 0 0 .32-.22l4.92-4.92a1 1 0 0 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42Z"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “Authentication”</span></a></div>
256256
<div class="sl-heading-wrapper level-h3"><h3 id="oauth-device-flow-recommended">OAuth Device Flow (Recommended)</h3><a class="sl-anchor-link" href="#oauth-device-flow-recommended"><span aria-hidden="true" class="sl-anchor-icon"><svg width="16" height="16" viewBox="0 0 24 24"><path fill="currentcolor" d="m12.11 15.39-3.88 3.88a2.52 2.52 0 0 1-3.5 0 2.47 2.47 0 0 1 0-3.5l3.88-3.88a1 1 0 0 0-1.42-1.42l-3.88 3.89a4.48 4.48 0 0 0 6.33 6.33l3.89-3.88a1 1 0 1 0-1.42-1.42Zm8.58-12.08a4.49 4.49 0 0 0-6.33 0l-3.89 3.88a1 1 0 0 0 1.42 1.42l3.88-3.88a2.52 2.52 0 0 1 3.5 0 2.47 2.47 0 0 1 0 3.5l-3.88 3.88a1 1 0 1 0 1.42 1.42l3.88-3.89a4.49 4.49 0 0 0 0-6.33ZM8.83 15.17a1 1 0 0 0 1.1.22 1 1 0 0 0 .32-.22l4.92-4.92a1 1 0 0 0-1.42-1.42l-4.92 4.92a1 1 0 0 0 0 1.42Z"></path></svg></span><span class="sr-only" data-pagefind-ignore>Section titled “OAuth Device Flow (Recommended)”</span></a></div>
257257
<p>The easiest way to authenticate is via OAuth device flow:</p>

0 commit comments

Comments
 (0)