The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 04:45 UTC
| 1 | import { T } from "gt-react"; |
| 2 | import { cn } from "~/lib/utils"; |
| 3 | |
| 4 | import { CommandBlock } from "./CommandBlock"; |
| 5 | |
| 6 | /** |
| 7 | * Setup steps for another computer: install `t3`, then run `command`. Both installers are shown |
| 8 | * because the browser showing this is often not the computer being set up. |
| 9 | */ |
| 10 | export function InstallT3Commands({ |
| 11 | command, |
| 12 | className, |
| 13 | }: { |
| 14 | readonly command: string; |
| 15 | readonly className?: string; |
| 16 | }) { |
| 17 | return ( |
| 18 | <div className={cn("space-y-2", className)}> |
| 19 | <p className="text-xs text-muted-foreground">macOS, Linux</p> |
| 20 | <CommandBlock command="curl -fsSL https://t3.codes/install.sh | sh" /> |
| 21 | <p className="text-xs text-muted-foreground">Windows (PowerShell)</p> |
| 22 | <CommandBlock command="irm https://t3.codes/install.ps1 | iex" /> |
| 23 | <p className="text-xs text-muted-foreground"> |
| 24 | <T>Then</T> |
| 25 | </p> |
| 26 | <CommandBlock command={command} /> |
| 27 | <p className="text-xs text-muted-foreground"> |
| 28 | <T> |
| 29 | Skip the install if you already have <code className="font-mono">t3</code>. If{" "} |
| 30 | <code className="font-mono">t3</code> is not found after installing, add the folder the |
| 31 | installer names to your PATH. |
| 32 | </T> |
| 33 | </p> |
| 34 | </div> |
| 35 | ); |
| 36 | } |