# Install Graphite from NPM.
npm install -g @withgraphite/graphite-cli
# Or, install Graphite from Homebrew (MacOS)
brew install withgraphite/tap/graphite
# Authenticate Graphite CLI via the web dashboard (needed to create PRs).
# Visit https://app.graphite.dev/activate to obtain your auth token and then
gt auth --token <auth_token>