Tony Sun
09/12/2025, 7:31 PMgt auth --token [token-here], but nothing happens in the command line and I can't actually run any of the gt commands)
I installed graphite with Homebrew -- when I run gt, I see the list of possible commands, and it asks me to authenticate before moving forward. However, run I try to run any commands (e.g., gt --version, gt --help --all, gt auth --token \ [my-token-here), nothing shows up in the console.
I've updated my git version (2.50), I've tried uninstalling and reinstalling via brew (and also npm), I've rebooted, and I also applied any XCode + other software updates. I've also tried restarting my terminal and re-sourcing my .zshrc file.
Is there something else I'm missing? I've asked a teammate to compare where gt and the installation locations on a similar Mac setup, and files look like they're installed in the same place.Pylon
09/12/2025, 7:31 PMPylon
09/12/2025, 7:36 PMgt is capturing any logs?
cat ~/.local/share/graphite/debug/*Tony Sun
09/12/2025, 7:48 PMzsh: no matches found: /Users/tony/.local/share/graphite/debug/* - I don't seem to have a folder at ~/.localPylon
09/12/2025, 7:57 PM$XDG_DATA_HOME environment variable set? Can confirm with env | grep XDG_DATA_HOMETony Sun
09/12/2025, 7:58 PMTony Sun
09/12/2025, 7:58 PMenv | grep XDG_DATA_HOMEPylon
09/12/2025, 8:03 PM/graphite/debug directory is located somewhere else:
find ~ -type d -path "*/graphite/debug" 2>/dev/nullTony Sun
09/12/2025, 8:06 PMPylon
09/12/2025, 8:08 PMwhich gt ? And if you run gt --version and then echo $? what is the return code?Tony Sun
09/12/2025, 8:09 PMwhich gt >> /opt/homebrew/bin/gt
gt --version into echo $? >> 1Pylon
09/12/2025, 8:10 PMPylon
09/12/2025, 8:10 PMAbout This Mac info accessed here:Tony Sun
09/12/2025, 8:12 PMPylon
09/12/2025, 8:13 PMfind ~ -type d -path "*/graphite" 2>/dev/nullย
These are the ones I find on mine:
~ยป find ~ -type d -path "*/graphite" 2>/dev/null
/Users/gary/.config/graphite
/Users/gary/.local/share/graphite
/Users/gary/Library/Logs/Homebrew/graphiteTony Sun
09/12/2025, 8:15 PMfind ~ -type d -path "*/graphite" 2>/dev/null
/Users/tony/Library/Logs/Homebrew/graphitePylon
09/12/2025, 8:16 PMPylon
09/12/2025, 8:18 PM.config/graphite that's where the aliases and user_config files would be, which the CLI makes use of.Tony Sun
09/12/2025, 8:22 PMTony Sun
09/12/2025, 8:24 PMPylon
09/12/2025, 8:27 PMmkdir /Users/tony/.config ?Tony Sun
09/12/2025, 8:29 PM/Users/tony/.config, there's just no folder for graphitePylon
09/12/2025, 8:30 PMmkdir /Users/tony/.config/graphite ? Just to see that your user has permission to do thatTony Sun
09/12/2025, 8:31 PMPermission denied error when I try that.Pylon
09/12/2025, 8:33 PMPylon
09/12/2025, 8:38 PMbrew output for us to check: HOMEBREW_NO_COLOR=1 brew install withgraphite/tap/graphite >~/brew_graphite_install.log 2>&1Tony Sun
09/12/2025, 8:41 PMbrew uninstall graphite beforehand, see attached logTony Sun
09/12/2025, 8:41 PMPylon
09/12/2025, 8:57 PMTony Sun
09/12/2025, 9:12 PM