aboutsummaryrefslogtreecommitdiffstats
path: root/opencode2-bin/README
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-10-13 13:55:01 +0200
committerDanilo M. <danix@danix.xyz>2026-10-13 13:55:01 +0200
commit0809dcbc5ac1c54ebb7bf921f85b66e8815bed99 (patch)
tree07ec50420883882d28a131979eabe8b2c622331a /opencode2-bin/README
parent26482d1b9a1feba0acdd181729b1b1b07e0fbf6c (diff)
downloadmy-slackbuilds-0809dcbc5ac1c54ebb7bf921f85b66e8815bed99.tar.gz
my-slackbuilds-0809dcbc5ac1c54ebb7bf921f85b66e8815bed99.zip
opencode2-bin: add version 2.0.28
Repack the OpenCode 2.0 binary. Upstream publishes 2.0 only to the npm registry as @opencode/cli-linux-x64 (no GitHub release tarball), so this ships that self-contained bun binary and installs it as 'opencode2' so it can coexist with the v1 opencode-bin package.
Diffstat (limited to 'opencode2-bin/README')
-rw-r--r--opencode2-bin/README23
1 files changed, 23 insertions, 0 deletions
diff --git a/opencode2-bin/README b/opencode2-bin/README
new file mode 100644
index 0000000..511792d
--- /dev/null
+++ b/opencode2-bin/README
@@ -0,0 +1,23 @@
+opencode2-bin packages the OpenCode 2.0 release line, an open source AI
+coding agent for the terminal.
+
+This package ships the self-contained binary built by upstream and
+installs it as `opencode2`, so it can coexist with the v1
+`opencode-bin` package (which provides `opencode`). Upstream publishes
+the 2.0 line only to the npm registry as `@opencode/cli-linux-x64`;
+there is no GitHub release tarball for it, so this package repacks
+that npm artifact.
+
+The binary is compiled with Bun and is self-contained (no runtime
+dependencies). The default build targets glibc x86_64 with AVX2. On a
+CPU without AVX2, use the `-baseline` variant instead.
+
+OpenCode v1 and v2 share the same configuration and state directories
+(`~/.config/opencode`, `~/.local/share/opencode`). To test 2.0 without
+touching the v1 state, run it with an isolated XDG environment, e.g.:
+
+ XDG_CONFIG_HOME=~/.config/opencode2 \
+ XDG_DATA_HOME=~/.local/share/opencode2 \
+ opencode2
+
+Homepage: https://opencode.ai