Unable to install latest openneuro cli

Summary of what happened:

I’m trying to install latest version (4.25.0) of openneuro cli but I get a few deprecation warnings and no error message. However, when I try any openneuro command I get “command not found” error.

Command used (and if a helper script was used, a link to the helper script or the command generated):

npm install -g @openneuro/cli

Version:

% npm --version
10.2.4

% node --version
v22.4.0

Environment (Docker, Singularity / Apptainer, custom installation):

I’m using zsh terminal on macOS v14.4.1

Relevant log outputs (up to 20 lines):

127 % npm install -g @openneuro/cli
npm WARN deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm WARN deprecated glob@7.2.3: Glob versions prior to v9 are no longer supported
npm WARN deprecated subscriptions-transport-ws@0.11.0: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws    For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md

changed 1354 packages in 44s

119 packages are looking for funding
  run `npm fund` for details

% openneuro -v
zsh: command not found: openneuro

% openneuro login
zsh: command not found: openneuro