Cannot Install Appcelerator CLI or SDK

I am trying to install Appcelerator CLI and SDK, but I get errors all the time. I´m using Windows.
When I do npm install appcelerator -g, in cmd, (run as admin) I get:

npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: request has been deprecated, see https://github.com/request/request/issues/3142

changed 122 packages, and audited 123 packages in 9s

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

2 high severity vulnerabilities

To address all issues (including breaking changes), run:
npm audit fix --force

Run `npm audit` for details.

And, when I run appc, in cmd (run as admin) I get program.allowUnknownOption is not a function.

When I install the extension in VSCode, as detailed on VSCode official marketplace and Titanium WebSite, and the click “Install Tooling”, this Titanium SDK Titanium Updates: Installing Titanium SDK: 10.1.1.GA (1/1) simply doesn´t install.

Please, someone help me install the CLI and the Titanium SDK. (I know I have to use it in VSCode).