O que é o brew?
O brew é o gerenciador de pacotes baseado em git e ruby para a plataforma OSX, em uma analogia simples seria o apt-get ou yum usado no linux.
O que é o wget?
O wget é um pacote de software livre que utiliza os protocolos HTTP, HTTPS e FTP para baixar arquivos na internet.
Vamos agora instalar o brew, para instalarmos precisamos utilizar o seguinte comando:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" |
Depois de finalizado a instalação do brew, vamos parti para instalação do wget utilizando o seguinte comando:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brew install wget --with-libressl |
Pronto, agora voce pode utilizar o wget normalmente e agora possuindo também um gerenciador de pacotes para o OSX.