OmniscioGuidesInstall killed, exit code 137
Installation was killed before it could finish (exit code 137)
This is the installer's own message, not a Claude Code error. Anthropic documents the cause and the fixes, and the fix is memory rather than anything you set inside Claude Code.
Last checked against Anthropic's documentation on November 25, 2026. By the Omniscio team. Updated .
What is the exact message?
Installation was killed before it could finish (exit code 137). This usually means the system ran out of memory.
Claude Code needs roughly 512MB of free memory to install. Free up memory, then run this script again.Some terminals show the shell's own line above it, naming the binary and how it ended:
bash: line 183: 34803 Killed "$binary_path" install ${TARGET:+"$TARGET"}The line number and process ID differ between releases and runs, so yours will not match these.
What does exit code 137 mean?
The step the installer runs — claude install — was terminated by a signal. On Linux, exit code 137 means that process received SIGKILL, the uncatchable kill signal, and on a low-memory host that kill usually comes from the kernel's out-of-memory killer, the part of the system that ends a program when memory runs out.
The script around that step is what reports it: it prints the explanation and exits with code 137 itself, so the code in your terminal and the code in the sentence are the same event.
The message is printed by the install script macOS and Linux use, which also covers installs inside WSL, the Linux environment that runs inside Windows. Anthropic states the native Windows install scripts never print it, so a Windows install that fails is a different problem.
How do I give the installer enough memory?
Installing needs roughly 512 MB of free memory, and running Claude Code afterwards needs more. Anthropic's install page puts the minimum for running Claude Code at 4 GB of RAM.
See what the machine has before you change anything: free -m prints total, used and free memory in megabytes, and the free column is the number to compare with 512.
Add swap on a small Linux server
Swap uses disk space as overflow memory, so the install can complete when physical RAM is short. Anthropic's example creates a 2 GB swap file:
sudo fallocate -l 2G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfileThen run the installer again:
curl -fsSL https://claude.ai/install.sh | bashFree memory another way
- Close other processes on the machine before installing. A build, a database or a browser on the same small instance can be the whole difference.
- Move to a larger instance, which Anthropic names as its third option. It is the durable fix when the machine sits below the 4 GB minimum.
What if the machine had plenty of memory?
Exit code 137 is not always memory. On macOS, 137 does not mean memory at all: the script prints the sentence without the memory line. The same happens on Linux when a different fatal signal ended the step.
In those cases the number in brackets is the exit code that ended the install rather than a memory report, and the memory steps above are not the fix. Rerun the installer once; if it fails the same way, work through the install guide's own checks and treat it as a machine-level problem rather than a Claude Code one.
Reading an older log? Before v2.1.200 the script exited with only the shell's bare Killed line, with no explanation under it.
How do I know it is fixed?
- The install script runs to the end and prints no killed message.
claude --versionprints a version number, so the binary is installed.- On Linux,
free -mshows the swap you enabled, so the install has the headroom it reported.
Where these answers come from
- Anthropic's install troubleshooting page, read November 25, 2026: the message, SIGKILL and exit code 137, the other-signal and macOS case, the v2.1.200 note, and which platforms print it.
- The same page, install killed on low-memory Linux servers: the shell line above the message, the 512 MB install figure, the 4 GB minimum, the swap-file commands and the retry command.
Common questions
What does exit code 137 mean for a Claude Code install?
The install step was terminated by a signal. On Linux, exit code 137 means the process received SIGKILL, and on a low-memory host that kill usually comes from the kernel's out-of-memory killer. Anthropic's install script prints the message and exits with the same code.
How much memory does the Claude Code installer need?
Its own message asks for roughly 512MB of free memory to install, and Anthropic says running Claude Code needs more than that. The install page puts the minimum for running Claude Code at 4 GB of RAM.
Will adding swap really fix exit code 137?
It is the first fix Anthropic lists for this message, and it exists because swap turns disk space into overflow memory, so the install can complete when physical RAM is short. Anthropic names small VPS and cloud instances as the case it is for. A 2 GB swap file is the size its example creates.
Why do I only see a bare Killed line instead?
That points to an install script older than v2.1.200, which exited with only the shell's bare Killed line and printed no explanation. Either way the fix is the same: free memory, or add swap on a small server, then run the installer again.
Does this happen on Windows?
Not on native Windows. The message comes from the install script macOS and Linux use, which also covers installs inside WSL. Anthropic says the native Windows install scripts never print it.