Skip to content

docs: update tinybird CLI installation and auth steps#330

Open
devnucleus950 wants to merge 2 commits intodubinc:mainfrom
devnucleus950:update-tinybird-docs
Open

docs: update tinybird CLI installation and auth steps#330
devnucleus950 wants to merge 2 commits intodubinc:mainfrom
devnucleus950:update-tinybird-docs

Conversation

@devnucleus950
Copy link
Copy Markdown

@devnucleus950 devnucleus950 commented Apr 14, 2026

This PR updates the Tinybird CLI installation and authentication steps to use the modern flow, as the old interactive method via pip/pipx is deprecated.

Fixes dubinc/dub#3727

Summary by CodeRabbit

  • Documentation
    • Simplified Tinybird CLI installation and authentication setup. The installation process now uses a single command, and authentication has been streamlined to use an admin Auth Token instead of the interactive flow.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 14, 2026

Warning

Rate limit exceeded

@devnucleus950 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 52 minutes and 21 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 52 minutes and 21 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 0f636a08-0cbc-4ab2-beb0-9ec72a620a8b

📥 Commits

Reviewing files that changed from the base of the PR and between d150364 and f5a1ccb.

📒 Files selected for processing (1)
  • docs/local-development.mdx
📝 Walkthrough

Walkthrough

Updated Tinybird CLI installation and authentication instructions by replacing the conditional brew/pipx installation method and tb auth --interactive flow with a unified curl https://tinybird.co | sh installation followed by tb login with Auth Token authentication.

Changes

Cohort / File(s) Summary
Documentation Update
docs/local-development.mdx
Simplified CLI installation and authentication instructions by removing legacy brew/pipx conditional setup and tb auth --interactive flow, replacing them with direct curl-based installation and tb login with token-based authentication.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

Possibly related issues

  • #3727: Directly addresses the reported issue that tb auth --interactive is broken on legacy CLI and documentation still references the outdated installation and authentication flow. The changes implement the suggested fix to use curl https://tinybird.co | sh followed by tb login.

Poem

🐰 An updater's tale of documentation bright,
Old auth flows vanish into the night,
With curl and login, the path is clear,
Fresh docs arrive—no more CLI fear!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: updating Tinybird CLI installation and authentication steps in documentation.
Linked Issues check ✅ Passed The PR addresses all coding requirements from issue #3727: replacing deprecated interactive auth with curl installation and tb login flow.
Out of Scope Changes check ✅ Passed All changes in the PR are directly related to updating the Tinybird CLI installation and authentication documentation as specified in issue #3727.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
docs/local-development.mdx (1)

168-175: Align Tinybird setup wording across docs

This section now uses the new flow, but docs/self-hosting.mdx:103-117 still references a different installation path. Consider updating both docs to the same Tinybird setup flow to avoid conflicting instructions.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/local-development.mdx` around lines 168 - 175, The Tinybird install
instructions are inconsistent across docs: update the "Install the Tinybird CLI"
section (the paragraph that shows `curl https://tinybird.co | sh` and `tb
login`) to match the new flow used in local-development, and edit the older
self-hosting Tinybird section to use the identical wording and steps (same
install command, authentication via `tb login` and admin token) so both docs
present the same setup flow.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/local-development.mdx`:
- Around line 170-172: Update the code fence metadata for the command block that
currently uses "bash terminal" to match the repository's convention "bash
Terminal"; locate the triple-backtick fenced block containing the curl
https://tinybird.co | sh command and replace its opening fence metadata so it
reads "bash Terminal" (keep the command itself unchanged).

---

Nitpick comments:
In `@docs/local-development.mdx`:
- Around line 168-175: The Tinybird install instructions are inconsistent across
docs: update the "Install the Tinybird CLI" section (the paragraph that shows
`curl https://tinybird.co | sh` and `tb login`) to match the new flow used in
local-development, and edit the older self-hosting Tinybird section to use the
identical wording and steps (same install command, authentication via `tb login`
and admin token) so both docs present the same setup flow.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: ae1e8142-a026-4586-a283-61e279063a3f

📥 Commits

Reviewing files that changed from the base of the PR and between 2241f8b and d150364.

📒 Files selected for processing (1)
  • docs/local-development.mdx

Comment thread docs/local-development.mdx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tb auth --interactive broken on legacy CLI; docs still reference outdated flow

1 participant