Unable To Install Realm-CLI

Hi, I’m following the tutorial in the documentation to install Realm-CLI.
I installed Node.js version 16.14.2 and npm version 8.5.5

Still the terminal failes to execute:
npm install -g mongodb-realm-cli

throwing this error and freezing afterwards:
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See There’s Math.random(), and then there’s Math.random() · V8 for details.
npm WARN deprecated request@2.88.2: request has been deprecated, see h