Using a Sprite, can I request Claude Code installed via npm instead of binary?

Originally the sprite’s were installing claude via npm and this allowed me to run a tool called claude-trace for observability into claude’s internal process.

Since the switch to using the binary for install, now I can no longer use claude-trace on the sprite.

Is it possible to request a sprite use the npm install method instead?

The base image is using the standalone binary because I believe npm was misbehaving (see some of the issues people have mentioned with gemini which has no standalone release).

There’s no way to change the base image, but you should be perfectly able to install claude via npm yourself, and then fix PATH to refer to that installation.

1 Like

Thank you, that makes sense. I’ll do that.

Of note, this was changed because the npm installation is officially deprecated.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.