Skip to content

Improve communication around CLI setup and PATH modifications #1948

@samuv

Description

@samuv

Context

As discussed in #1927, ToolHive Studio currently modifies shell dotfiles (e.g., .bashrc, .zshrc) to add the thv CLI to the user's PATH — without any visible notification or user consent.

This can be surprising, especially for users who carefully manage their dotfiles (e.g., via version control).

Problem

There is currently no communication to the user about:

  • What ToolHive Studio is doing to their shell configuration
  • That the thv CLI exists and is being installed
  • How to manage or undo the changes

What we should explore

  • Better surface what's happening during CLI setup (e.g., a dialog, a notification, a first-launch message)
  • Provide an option to opt out of automatic PATH modification
  • Leverage the existing Settings > CLI page to give users visibility and control
  • Use this as an opportunity to educate users about the thv CLI

The exact approach is open for discussion — the key goal is that users are informed and in control.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions