santo wrote:I remember years ago that just by typing typescript I would get a message
that the outcome of the command I would type next would be saved in a file
called 'typescript' in /home directory...was so easy to use and useful for me...
What you're looking for is the "script" command which is contained in the package util-linux which is always installed by default.
santo wrote:now it is installed I believe
but still 'command not found'
what is it that I am missing?
No, you only installed npm and NodeJS. typescript, which you were initially asking for, is a module which can be installed via npm:
https://www.npmjs.com/package/typescriptWhich does something totally different then what you're asking for, from what I can tell.
Maybe next time also tell for what purpose you want to install some package.