Instead of typing ts-node script.ts we just want to type ts script.ts.
Approach
Edit ~/.bashrc and at the bottom add alias ts='ts-node' and save.
Now run source ~/.bashrc.
Now create a test.ts file containing a console.log("hello”) statement, and run ts test.ts.