Can't install xata cli

When running the command listed on the docs npm install -g @xata.io/cli I get the error
The splatting operator '@' cannot be used to reference variables in an expression. '@xata' can be used only as an argument to a command. To reference variables in an expression use '$xata'.
. Even the cmd listed on npmjs.com npm i @xata.io/cli, doesn't word throws the same error.
Was this page helpful?