Repository navigation
docs(cli): Correct self-hosted login, upgrade, and dev setup docs - #1541
Merged
Merged
Conversation
Co-Authored-By: Miguel Betegon <miguel.betegon@sentry.io>
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
BYK
approved these changes
Oct 19, 2026
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This fixes CLI docs that no longer match how the CLI behaves. Every change was checked against the implementation in
packages/cli.What changed
SENTRY_HOSTorSENTRY_URLwas enough forsentry auth login. In fact the CLI only trusts a self-hosted host when--urlis passed, because that's the only thing that registers a login trust anchor. Without it, login is refused. Theself-hostedpage, theauthfragment and the generated skill reference now say this, and the env-only example is removed. Also fixed the numbering of the OAuth app setup steps.yarnto the install-method table and corrected thebuncommand tobun add -g. Also noted that switching to nightly from a Homebrew install also moves you to a standalone binary. The--methodhelp forsentry cli setupnow listsbrew, which it already accepted.SENTRY_INIT=1, which runssentry initright after installing.--no-agent-skillschoice is saved and applies to later upgrades.sentry cli defaults agent-skills onturns installation back on.sentry upgradeis nowsentry cli upgrade, and the persistent-defaults intro lists every keysentry cli defaultsaccepts.contributing.mdnow match the package scripts.DEVELOPMENT.mdnow describesSENTRY_CLIENT_IDand thepackages/cli/.env.localsetup correctly.packages/cli/AGENTS.mdnow has the right relative link, the fullgenerate:docssteps and an up-to-date command directory list.Validation
generate:schema,generate:docsand thesentry-cli-docsbuild.ci:policy, lint, typecheck and the repo-widedocs:checkpassed.test/commands/cliandtest/scripttests passed.via bete.
--
View Junior Session [Sentry]