How can I use $ ./psh.phar storefront:hot-proxy command in shopware 6 ?

When I try to run this command I get this error:

 php bin/console storefront:build

-bash: bin / console: No authorization

OR

./psh.phar storefront:hot-proxy

File or directory not found

 

 

I am new in shopware, Please help me.

Thanks

Where are you executing  

 php bin/console storefront:build

 php bin/console storefront:hot-proxy

Maybe check:

  • correct folder = the root of your project
  • does the folder exist in your project: psh.phar 
  • access rights