[SOLVED] Is there a way to run typescript on the command line?


I know that I can run Javascript by running node through the command line, but is there a way to play around with typescript on the command line? or must I use a text editor?


If you install ts-node for a project, you can then run it directly by typing in npx ts-node. It works similarly to Node’s REPL.

enter image description here

Answered By – CertainPerformance

Answer Checked By – Clifford M. (BugsFixing Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *