Skip to content

Instantly share code, notes, and snippets.

@maxstainer
maxstainer / claude-centos7.sh
Created March 5, 2026 18:42
claude-centos7
#!/bin/bash
# Install Claude Code on CentOS 7
# Run as normal user (not root)
#
# Why Nix? CentOS 7 ships glibc 2.17 and no Node.js 20 packages.
# Nix provides a modern Node.js without breaking the system.
set -euo pipefail
echo "=== Claude Code installer for CentOS 7 ==="
@maxstainer
maxstainer / install-claude-centos7.sh
Created March 5, 2026 18:32
Install Claude Code on CentOS 7 via Nix — single script, no root required
#!/bin/bash
# Install Claude Code on CentOS 7
# Run as normal user (not root)
#
# Why Nix? CentOS 7 ships glibc 2.17 and no Node.js 20 packages.
# Nix provides a modern Node.js without breaking the system.
set -euo pipefail
echo "=== Claude Code installer for CentOS 7 ==="