'touch' is not recognized as an internal or external command, operable program or batch file

HussamDev picture HussamDev · Mar 21, 2016 · Viewed 83.9k times · Source

I work with laravel 5 , when i type in windows cmd this command "touch storage\database.sqlite" this error message rise 'touch' is not recognized as an internal or external command, operable program or batch file. any hint to solve it ?

Answer

cyberdenz picture cyberdenz · Nov 3, 2017

if you are using node.js just use npm to install it on Windows:

C:\npm install touch-cli -g

it will install the command line interface for touch, you can then use it the same as unix...