Use "touch" command in windows 10.

Gautham Vijayan - Nov 20 '20 - - Dev Community

Unix commands like touch will not work in windows system so people have gotten smart and have figured out a way to touch(create) a file in the terminal in windows.

There is a npm package called touch-cli which will allow us to use touch command.

Open up your terminal and paste the following code.

npm install touch-cli -g

We install the touch-cli globally so we can use it in any folder.

Now below we can see the touch-cli in action.

Screen Recording 2020-11-20 at 08.44.53.16 PM

Thank you for reading!

If you like this article, Unicorn this one! Heart/Like this one and save it for reading it later.

My Other Articles:

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player