Answer: You install the opencode JavaScript client by running the command bun add @opencode/client. Status: Confirmed Entry: tool/opencode/install-and-setup/install-javascript-client Revision: 1 Digest: sha256:f3be62461af80a92 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:55:34Z Last changed: 2026-11-13T03:55:34Z Last verified: 2026-11-20T13:44:21Z Next check: 2026-11-21T13:44:21Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of install command | bun add @opencode/client | [1] | 2026-11-20 Sources: [1] opencode. "JavaScript | OpenCode". https://opencode.ai/docs/build/client/ Role: primary. Accessed: 2026-11-20T13:44:21Z Quote: "bun add @opencode/client" (Supports: install command) Snapshot SHA-256: b57c06b169f30d263d200c3ace3e4cf3d5ed6f2a7ad4d4bd5ef01f4334d32706 (captured 2026-11-13T03:55:34Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T03:55:34Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T13:44:21Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:44:21Z Last attempt: 2026-11-20T13:44:21Z Notes and limitations: Extracted automatically from a single official source (section "Install"). Related: https://latestn.com/tool/opencode/install-and-setup/install-opencode-cli How do I install opencode via npm, Homebrew, or curl? https://latestn.com/tool/opencode/install-and-setup/install-sdk How do I install the opencode SDK? https://latestn.com/tool/opencode/install-and-setup/install-v2-over-v1 How do I install opencode V2 when V1 is already installed? https://latestn.com/tool/opencode/install-and-setup/console-get-started-connect How do I get started with the opencode Console and connect my workspace in OpenCode? https://latestn.com/tool/opencode/install-and-setup/install-effect-plugin-package How do I install the Effect plugin package for opencode plugins? https://latestn.com/tool/opencode/install-and-setup/install-effect-sdk How do I install the opencode Effect SDK? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:55:34Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/opencode/install-and-setup/install-javascript-client/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/opencode/install-and-setup/install-javascript-client POST: https://latestn.com/dispute/tool/opencode/install-and-setup/install-javascript-client with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/opencode/install-and-setup/install-javascript-client?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I install the opencode JavaScript client? Revision 1, last verified 2026-11-20T13:44:21Z. https://latestn.com/tool/opencode/install-and-setup/install-javascript-client (accessed 2026-11-21T09:50:30Z). @misc{LatestN_tool_opencode_install_and_setup_install_javascript_client_r1, title = {How do I install the opencode JavaScript client?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/opencode/install-and-setup/install-javascript-client}}, note = {Revision 1; digest sha256:f3be62461af80a92; last verified 2026-11-20T13:44:21Z; accessed 2026-11-21T09:50:30Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/opencode/install-and-setup/install-javascript-client