Commit graph

4 commits

Author SHA1 Message Date
Bryan Helmkamp
5501ba6fe7 Fix install.sh prompt not showing when piped via stdin
Check for /dev/tty instead of stdin being a terminal, so the Y/n
prompt works with `cat install.sh | bash`.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-10 18:31:34 -04:00
Bryan Helmkamp
d5bd2c6046 Install to ~/.arc/bin instead of /usr/local/bin and auto-configure PATH
- Use %b instead of %s in printf helpers to fix unescaped color codes
- Default install dir to ~/.arc/bin (no sudo needed)
- Auto-append PATH export to shell config (zsh, bash, fish)
- Skip PATH setup with dim message if arc is already on $PATH
- Add tildify helper for friendlier path display

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-10 18:30:37 -04:00
Bryan Helmkamp
d5defaf2bd Improve install.sh output and prompt to run setup wizard
Redirect all UI output to stderr so piped installs work cleanly.
Add Fabro header, color enhancements, and checkmark/cross indicators.
Prompt interactive users to run `arc install` immediately after download.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-10 18:19:18 -04:00
Bryan Helmkamp
38bc5c70b7 Add install.sh for automated Arc CLI installation
Uses gh CLI to download the latest release, detect platform
(macOS ARM with Rosetta detection, Linux x86_64), and install
the binary to /usr/local/bin (or ARC_INSTALL_DIR).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-10 17:06:55 -04:00