Install npm,node and tsc on Ubuntu 22.04.2 LTS
Install the precompiled package of Node.js from the official website. (I chose LTS Linux x64.) https://nodejs.org/en/download After extracting it, add the path to the PATH environment variable. Install tsc We can use it successfully after the above steps