New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

opencode-cloud

Package Overview
Dependencies
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

opencode-cloud

Cross-platform CLI for opencode-cloud (includes prebuilt binaries)

latest
Source
npmnpm
Version
25.1.3
Version published
Maintainers
1
Created
Source

opencode-cloud Node.js CLI

Cross-platform CLI for opencode-cloud with prebuilt binaries for major platforms.

Installation

npx opencode-cloud@latest --version
bunx opencode-cloud@latest --version
npm install -g opencode-cloud

No Rust toolchain required — npm automatically downloads the correct binary for your platform.

Supported Platforms

PlatformArchitecturePackage
macOSApple Silicon (arm64)@opencode-cloud/cli-node-darwin-arm64
macOSIntel (x64)@opencode-cloud/cli-node-darwin-x64
Linuxx64 (glibc)@opencode-cloud/cli-node-linux-x64
LinuxARM64 (glibc)@opencode-cloud/cli-node-linux-arm64
Linuxx64 (musl/Alpine)@opencode-cloud/cli-node-linux-x64-musl
LinuxARM64 (musl/Alpine)@opencode-cloud/cli-node-linux-arm64-musl

Windows support planned for a future release.

How it works

  • When you install opencode-cloud, npm downloads a platform-specific package based on your OS and architecture
  • The main package finds the binary from the platform package
  • All CLI invocations spawn the Rust binary with transparent passthrough (stdio: inherit)
  • Exit codes, colors, and TTY detection are preserved

Development

When developing locally, place the Rust binary in the Node package bin/ directory:

cargo build --release
cp target/release/occ packages/cli-node/bin/

Then run via just run or node packages/cli-node/dist/index.js <args>. The wrapper resolves the binary from bin/ when platform packages are not used.

Usage

occ start
occ status
occ stop

All commands are identical between the npm and cargo installations.

License

MIT

Keywords

opencode

FAQs

Package last updated on 12 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts