spacehub

surshar / claude-code

Claude Code is an agentic coding tool that lives in your terminal, understands your codebase, and helps you code faster by executing routine tasks, explaining complex code, and handling git workflows - all through natural language commands.

Built by Anthropic · github.com/anthropics

claude-code / mods / telemetry / hooks / config-location / config-location.ts
12 lines · 376 BRaw
1/**
2 * Where the CLI's global config file is, read off the environment; read to
3 * find the file, never sent.
4 *
5 * The config directory when one is named, else the home directory (the
6 * profile directory on Windows).
7 */
8export type ConfigLocation = {
9 readonly configDir: string | undefined
10 readonly home: string | undefined
11 readonly userProfile: string | undefined
12}