npm install -g EACCES Permission Error: 2 Fixes Without sudo (2026)
npm install -g fails with EACCES because the global directory belongs to root. Fix it with nvm or a custom prefix, not sudo. Commands and a triage table.
Blog
与「Codex」相关的文章。
npm install -g fails with EACCES because the global directory belongs to root. Fix it with nvm or a custom prefix, not sudo. Commands and a triage table.
Point Codex at AGI Plan by editing the base URL and an env var in config.toml. Includes a provider example, key setup, a 4-step check and where to look on errors.
How to use AGI Plan: sign up with an email code, pick a plan and create an API key, then change one base URL in Claude Code, Codex, or Cherry Studio. Pay in RMB.
An AI agent is a model-driven program that calls tools and works in multiple steps. See how Claude Code and Codex loop, and why agents burn more tokens.
Install Codex CLI with npm, pick ChatGPT login or an API key, learn sandbox and approval modes, and run your first task in a test repo.
Codex account banned? Check for shared credentials, resale, or heavy automation. Five OpenAI terms boundaries, appeal steps, and compliant API key billing.
Pick a subscription for chat, an API for batch jobs, and check billing for coding tools. A comparison table covers accounts, payment, terms and gateways.
Yes. Codex can run on an API key or a custom provider instead of a ChatGPT login. Compare billing, copy a config.toml example, and verify the setup step by step.
Don't guess whether Plus includes Codex. Verify coverage and limits on official pages in 4 steps, then compare subscription, API key, and gateway billing.
Claude Code and Codex quotas are separate on official plans. A gateway supporting both Anthropic and OpenAI formats lets one key serve both. Setup and checks.
Which plan should you use for Codex? Compare ChatGPT subscription login, pay-as-you-go API keys, and compatible gateways, with four steps to choose by usage.
Three ways to pay for AI coding: editor subscriptions, official plans, and API-key gateways. Who each fits, common pitfalls, and a five-minute checklist.
Coding agent tokens mostly go to resent context. Use a formula built on sessions, requests, cache hit rate and prices, and measure real usage with ccusage.
When Codex says stream disconnected before completion, read the reason after the colon and the request id, then check outages, proxy, certificates and clock, and WSL networking, each with a test command.
Field-by-field Codex config.toml reference: how to write model_providers, env_key, wire_api and profiles, which -c override wins, and how to verify.
Domains, ports and proxy settings Claude Code and Codex need, with a firewall allowlist template, curl self-checks, and common blocked-request errors.
On Oct 2, ChatGPT for iOS added a widget showing remaining usage and reset time. Three ways to check Codex usage, and how to tell what happened when it drops to zero.
GPT Image 2.5 has two models: Sunburst for precise edits, Flare for fast everyday images. A selection table, the Oct 14 incident, and Codex credit costs.
OpenAI Daybreak is a gated cyber access program, default-on in Codex CLI 0.163 for eligible accounts. What it is, how to check your account, and how to apply.
Codex CLI 0.163.0 shipped Oct 15 with mid-reply steering and a searchable /config. Here are the new features, an upgrade checklist, and Windows/WSL fixes.
OpenAI's status page logged elevated errors across ChatGPT, Codex, and the API on Oct 6. Here is a 4-step check, plus how to back off on 429 and 503.
GPT-6.1 Sol costs $2 input and $10 output per million tokens. Fast is 2x, Ultrafast 6x. Compare tier prices, Codex multipliers and when each is worth it.
GPT-5.5 stopped being offered to ChatGPT-login Codex users on Oct 14; API key sessions are unaffected. Grep for old names, check your login type, then verify.
As of October 2026, ChatGPT Pro starts at $100/month in three tiers; only the $500 tier has Ultrafast. Compare prices, Codex limits, and upgrade vs. credits.