Thursday, 10 March 2016

Mac Os Mavericks : How to download file without wget .

On a recent tutorial I was asked to install PHP Unit with wget.  To which I got this message

'-bash: wget: command not found'

Rather than installing this you can use 'curl'  .  Here's the commands I used.

'curl -o phpunit.phar'

And then followed the next instructions the same as after 'wget'

'chmod +x phpunit.phar'

'mv phpunit.phar /usr/local/bin/phpunit'

No comments: