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'.
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.
3 Replies
kostas
kostas2y ago
Hello! If you are installing the Xata CLI on Windows using Powershell you may need to wrap this part of the install command in quotes: '@xata.io/cli' From the note in the install docs here: https://xata.io/docs/cli/installation Let me know if that works
PeanutDumplings
Yeah that worked great. Thanks a bunch!
kostas
kostas2y ago
Awesome!
Want results from more Discord servers?
Add your server