You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Claude Code also offers an experimental native binary installation method currently in alpha testing. This provides a single executable with no Node.js dependencies.
109
+
110
+
#### Installation Methods
111
+
112
+
Install the native binary using one of these methods:
113
+
114
+
```bash
115
+
# Fresh install (recommended)
116
+
curl -fsSL claude.ai/install.sh | bash
117
+
118
+
# From existing Claude Code installation
119
+
claude install
120
+
```
121
+
122
+
#### Platform Support
123
+
124
+
-**macOS**: Full support for Intel and Apple Silicon
125
+
-**Linux**: x64 and arm64 architectures
126
+
-**Windows**: Via WSL (Windows Subsystem for Linux)
127
+
128
+
#### Benefits
129
+
130
+
-**Zero Dependencies**: Single executable file with no external requirements
131
+
-**Cross-Platform**: Consistent experience across operating systems
132
+
-**Secure Installation**: Includes checksum verification and automatic cleanup
133
+
134
+
#### Configuring for Native Binary
135
+
136
+
The exact binary path depends on your shell integration. To find your installation:
137
+
138
+
```bash
139
+
# Check where claude command points
140
+
which claude
141
+
142
+
# Verify installation type and health
143
+
claude doctor
144
+
```
145
+
146
+
Configure the plugin with the detected path:
147
+
148
+
```lua
149
+
{
150
+
"coder/claudecode.nvim",
151
+
dependencies= { "folke/snacks.nvim" },
152
+
opts= {
153
+
terminal_cmd="/path/to/your/claude", -- Use output from 'which claude'
154
+
},
155
+
config=true,
156
+
keys= {
157
+
-- Your keymaps here
158
+
},
159
+
}
160
+
```
161
+
162
+
</details>
163
+
164
+
> **Note**: If Claude Code was installed globally via npm, you can use the default configuration without specifying `terminal_cmd`.
165
+
60
166
## Quick Demo
61
167
62
168
```vim
@@ -140,6 +246,8 @@ For deep technical details, see [ARCHITECTURE.md](./ARCHITECTURE.md).
-- For local installations: "~/.claude/local/claude"
250
+
-- For native binary: use output from 'which claude'
143
251
144
252
-- Selection Tracking
145
253
track_selection=true,
@@ -469,6 +577,8 @@ Provides convenient Claude interaction history management and access for enhance
469
577
-**Claude not connecting?** Check `:ClaudeCodeStatus` and verify lock file exists in `~/.claude/ide/` (or `$CLAUDE_CONFIG_DIR/ide/` if `CLAUDE_CONFIG_DIR` is set)
470
578
-**Need debug logs?** Set `log_level = "debug"` in opts
471
579
-**Terminal issues?** Try `provider = "native"` if using snacks.nvim
580
+
-**Local installation not working?** If you used `claude migrate-installer`, set `terminal_cmd = "~/.claude/local/claude"` in your config. Check `which claude` vs `ls ~/.claude/local/claude` to verify your installation type.
581
+
-**Native binary installation not working?** If you used the alpha native binary installer, run `claude doctor` to verify installation health and use `which claude` to find the binary path. Set `terminal_cmd = "/path/to/claude"` with the detected path in your config.
0 commit comments