If you have onboarded a teammate to Claude Code, you may have had this conversation: "It says I'm being charged per token, but I have a Pro subscription?" Claude Code supports six ways to authenticate, and they follow a priority order that is easy to get wrong.
This post walks through the six methods and the priority chain, and introduces an open-source script that sets authentication up the same way on macOS, Linux, Windows and WSL.