Troubleshoot installation and login changedtroubleshoot-install
Nearest release: v2.1.323, published 2 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 12 Nov 2026 22:52 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 12 Nov 2026 23:07 UTC.
Upstream edited
Recorded here
Lines+7added
Lines−13removed
From line
384
where the diff opens
First seen
14 Aug 2026
this site's first read of the page
Recorded edits35to this page, all time
The whole hunk
from line 384, old and new numbered
/
from line 384
384384> Get-Command claude | Select-Object Source
385385> ```
386386
387On Linux, check for missing shared libraries. If `ldd` shows missing libraries, you may need to install system packages. On Alpine Linux and other musl-based distributions, see [Alpine Linux setup](https://code.claude.com/docs/en/setup.md#alpine-linux-and-musl-based-distributions).
387On Linux, check for missing shared libraries. If `ldd` shows missing libraries, you may need to install system packages. On Alpine Linux and other musl-based distributions, see [Linux musl or glibc binary mismatch](#linux-musl-or-glibc-binary-mismatch).
388388
389389```bash theme={null}
390390ldd "$(command -v claude)" | grep "not found"
from line 902
902902
903903### Linux musl or glibc binary mismatch
904904
905If you see errors about missing shared libraries like `libstdc++.so.6` or `libgcc_s.so.1` after installation, the installer may have downloaded the wrong binary variant for your system.
905If you see errors about missing shared libraries like `ld-linux-x86-64.so.2` or `ld-linux-aarch64.so.1` after installation, the installer may have downloaded the wrong binary variant for your system.
906906
907907```text theme={null}
908Error loading shared library libstdc++.so.6: No such file or directory
908Error loading shared library ld-linux-x86-64.so.2: No such file or directory
909909```
910910
911This can happen on glibc-based systems that have musl cross-compilation packages installed, causing the installer to misdetect the system as musl.
912
913911**Solutions:**
914912
9159131. **Check which libc your system uses**:
from line 918
920918
9219192. **If you're on glibc but got the musl binary**, remove the installation and reinstall. You can also manually download the correct binary using the manifest at `https://downloads.claude.ai/claude-code-releases/{VERSION}/manifest.json`. File a [GitHub issue](https://github.com/anthropics/claude-code/issues) with the output of `ldd --version` and `ls /lib/libc.musl*`.
922920
9233. **If you're actually on musl**, such as Alpine Linux, install the required packages:
924 ```bash theme={null}
925 apk add libgcc libstdc++ ripgrep
926 ```
927 On Alpine, `ripgrep` is in the community repository. If `apk` reports that the package is missing, see [Alpine Linux setup](https://code.claude.com/docs/en/setup.md#alpine-linux-and-musl-based-distributions).
9213. **If you're on musl but got the glibc binary**, [remove the installation](https://code.claude.com/docs/en/setup.md#uninstall-claude-code). On Alpine Linux, first install the packages that [Alpine Linux setup](https://code.claude.com/docs/en/setup.md#alpine-linux-and-musl-based-distributions) names. Then run the [install command](https://code.claude.com/docs/en/setup.md#install-claude-code), which installs the musl binary.
928922
929923### `Illegal instruction`
930924
No line in this hunk matches that.