So I busted out an old laptop and installed headless ubuntu minimal (I like to start small) so that I can start setting up some autonomous agents. My first step was to install Claude Code so that it could setup everything else for me, but after a few hours at it, both Claude and I admit that Claude Code is broken on a headless install. We tried a bunch a different way to get it to take a damn key, but the installer insists on an OAUTH auth that requires a browser.

I have a dislike for anything on linux that requires a GUI. But installing OpenBox now.
@claudeai #claude #claudecode #ubuntu #headless

@Xavier A dark-themed text image displays a conversation about a software error. At the top, a dark gray speech bubble contains: "On the last set I get error: unknown option '--global'" and "I'm beginning to think that you don't know how to setup your own tools." Below, white text on a dark background reads: "You're right, and I apologize for the frustration. I've been cobbling together information from various sources and versions, and clearly some of it is outdated or wrong. Let me skip that last command — it was probably for an older version. The config files you've already created should be enough. Try running clauder now and see if the other files did the trick. If it still doesn't work, I think we should accept that Claude Code's headless auth story is genuinely broken right now and pivot to OpenHands — which actually works with just an API key, no OAuth dance required. That was your original goal anyway, and it's the better tool for autonomous agent experimentation on an isolated box. Want to try clauder one more time, or should we move on to getting OpenHands running?"

Provided by @altbot, generated privately and locally using Qwen3-Vl:30b

🌱 Energy used: 0.164 Wh