grpcli (v0.8.1) is a command-line client for interacting with gRPC servers. It allows connecting to any gRPC service, listing available methods, and calling methods using native JavaScript objects that are converted to protobuf messages. It supports configuration via .grpclirc file, automatic reconnection via standard gRPC backoff retries, and works with both proto2 and proto3. Released under BSD-2-Clause license, maintained on GitHub with low release cadence (last update 2018). Differentiators: REPL-like interactive mode, multiple config profiles, and no dependency on protoc compilation.
npm install grpcliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install grpcli globally, connect to a gRPC service, list methods, and call one with JSON arguments.
Use nvm to switch to Node.js 10 or 12; consider using grpc-js for pure JavaScript alternative
No official upgrade path; consider alternatives like grpcurl or prepare custom client
Ensure .proto file path is correct and includes imports
If server is plaintext, add --insecure to command-line
Install build tools (python, make, g++) and retry: npm install -g grpcli
Use sudo npm install -g grpcli or configure npm prefix
Provide absolute path or use -d for directory and -f for filename