aboutsummaryrefslogtreecommitdiffstats
path: root/claude-code-bin/README
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-20 12:01:15 +0200
committerDanilo M. <danix@danix.xyz>2026-04-20 12:01:15 +0200
commit5b1e8568859d5ff4a096b491aed57bccc1d53646 (patch)
treed511ad204afe13fcfe661bab5f90ae89f2fb2e2e /claude-code-bin/README
parentaa4de3b8c5320e2d2c6d0bf994f71c6f3c03a9ae (diff)
downloadmy-slackbuilds-5b1e8568859d5ff4a096b491aed57bccc1d53646.tar.gz
my-slackbuilds-5b1e8568859d5ff4a096b491aed57bccc1d53646.zip
claude-code-bin: Added as a fallback replacement for claude-code package not building.
Diffstat (limited to 'claude-code-bin/README')
-rw-r--r--claude-code-bin/README52
1 files changed, 52 insertions, 0 deletions
diff --git a/claude-code-bin/README b/claude-code-bin/README
new file mode 100644
index 0000000..516a1b1
--- /dev/null
+++ b/claude-code-bin/README
@@ -0,0 +1,52 @@
+Claude Code is an agentic coding assistant CLI from Anthropic. It can read
+your codebase, edit files, run shell commands, manage git, and use Claude AI
+to help you write and debug code directly from the terminal.
+
+This package installs /usr/bin/claude. The binary is a self-contained
+executable downloaded at build time from Anthropic's distribution CDN.
+
+ABOUT THIS PACKAGE
+
+This claude-code-bin package provides a workaround for the upstream
+claude-code package in the SBo development category, which fails to build on
+version 2.1.114+. Rather than rebuilding from source, this package downloads
+the pre-built binary directly from Anthropic's CDN.
+
+BUILDING WITH A SPECIFIC VERSION
+
+By default this SlackBuild downloads the latest released version at build
+time. To build a specific version, set VERSION before running the script:
+
+ VERSION=2.1.114 bash claude-code-bin.SlackBuild
+
+DEPENDENCIES
+
+Required (standard Slackware):
+ curl (preferred) or wget — used to download the binary at build time
+
+Optional:
+ jq — used to parse manifest.json for the SHA-256 checksum
+ if not present, a built-in bash fallback is used instead
+
+NETWORK ACCESS
+
+This SlackBuild requires outbound HTTPS access to:
+ https://downloads.claude.ai/claude-code-releases/
+
+If you are building in an offline or air-gapped environment this package
+cannot be built without modifications.
+
+SHELL INTEGRATION
+
+After installing the package, each user who wants shell completions and
+the claude startup wrapper should run once (as themselves, not root):
+
+ claude install
+
+This modifies the user's shell configuration files (~/.bashrc, ~/.zshrc,
+etc.) and sets up completions. It does not affect system-wide files.
+
+AUTHENTICATION
+
+Claude Code requires an Anthropic API key or a Claude Pro/Max subscription.
+Run `claude` after installation to start the authentication flow.