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.
Thank you for reading!
If you like this article, Unicorn this one! Heart/Like this one and save it for reading it later.
Top comments (3)
Thanks!
Thanku you for reading my post!
Thanks...It helped alot!