Search the documentation
13 pages for --force.
Titles and paths first, then pages whose text carries it. Each row opens that page as this site last read it.
claude-prompting-best-practices
Claude Developer Platform · in the page
build-with-claude/prompt-engineering/claude-prompting-best-practices
…opping database tables, rm -rf - Hard to reverse operations: git push --force, git reset --hard, amending published commits - Operations visible to others: pushing code, commenting on PRs/issues, send…
spawn.sh: called once per claimed work item
Claude Developer Platform · in the page
managed-agents/self-hosted-sandboxes
…stopped`. Pass `force: true` in the request body (with the CLI, pass `--force`) to mark the work item `stopped` immediately instead of waiting for the worker's confirmation. Because these calls run f…
Agent SDK reference - Python
Claude Code CLI · in the page
agent-sdk/python
…"Claude Code CLI not found. Try reinstalling: pip install --force-reinstall claude-agent-sdk" ) # Catch ResultError before ProcessError, which it subclasses. Its message #…
Agent SDK reference - TypeScript
Claude Code CLI · in the page
agent-sdk/typescript
…ge, for example `npm install @anthropic-ai/claude-agent-sdk-linux-x64 --force`. * On Windows, the binary subpath is `claude.exe`, for example `@anthropic-ai/claude-agent-sdk-win32-x64/claude.exe`. ##…
Configure auto mode
Claude Code CLI · in the page
auto-mode-config
…* the destructive operation and its target]: Force pushing (`git push --force`), deleting remote branches, tags, or releases, or rewriting remote history. Also `git commit --amend` when the commit bei…
Claude Code changelog
Claude Code CLI · in the page
changelog
…* Changed `/commit-push-pr` so git/gh commands with dangerous flags (`--force`, `--amend`, `--no-verify`, etc.) are no longer auto-approved * Changed self-hosted runner Windows startup to require an…
Commands
Claude Code CLI · in the page
commands
…| | `/reload-plugins [--force]` | Reload all active [plugins](/docs/en/plugins) to app…
Discover and install prebuilt plugins through marketplaces
Claude Code CLI · in the page
discover-plugins
…he reload will re-read the conversation, rerun it as `/reload-plugins --force`. Plugin skills are namespaced by the plugin name, so **commit-commands** provides skills like `/commit-commands:comm…
Create and distribute a plugin marketplace
Claude Code CLI · in the page
plugin-marketplaces
…gins`, which [warns about the cache cost and applies when rerun with `--force`](/docs/en/prompt-caching#enabling-or-disabling-a-plugin). ### Advanced plugin entries This example shows a plugin entry…
Plugins reference
Claude Code CLI · in the page
plugins-reference
…, `lsp`, `output-style`, `channel` | | | `-f, --force` | Overwrite an existing `.claude-plugin/` at the target…
How Claude Code uses prompt caching
Claude Code CLI · in the page
prompt-caching
…ude Code shows a warning and doesn't apply the reload. Rerun it with `--force` to apply the reload anyway. #### Plugins you enable and then disable in one session When you disable a plugin you enabl…
Troubleshoot installation and login
Claude Code CLI · in the page
troubleshoot-install
…x` first, then install with `npm install -g @anthropic-ai/claude-code --force`. Do not use `sudo`. **`exec: node: not found` when running `claude`.** Your WSL environment is likely using the Windows…
Run parallel sessions with worktrees
Claude Code CLI · in the page
worktrees
…p a worktree that the sweep keeps, run `git worktree remove`, adding `--force` if the worktree has uncommitted changes or untracked files. If git refuses because the worktree is locked, run `git workt…