Yuav ua li cas rau nruab Homebrew ntawm Mac

Cov txheej txheem:

Yuav ua li cas rau nruab Homebrew ntawm Mac
Yuav ua li cas rau nruab Homebrew ntawm Mac
Anonim

Yog tias koj tau siv Terminal ntawm Mac, tej zaum koj tau hnov txog Homebrew. Txhim kho Homebrew ntawm Mac yog qhov yooj yim heev, thiab nws txuas ntxiv rau Mac operating system thaum tseem muab Terminal tis ya.

How to Install Homebrew

Homebrew tso siab rau qee qhov kev txhawb nqa los ntawm Apple's Xcode. Yog li ntawd, koj yuav tsum tau nruab qhov ntawd, ib yam nkaus. Ua raws cov kauj ruam hauv qab no kom pib:

  1. Qhib Terminal los ntawm daim ntawv thov nplaub tshev lossis Launchpad.
  2. Copy thiab paste cov lus txib hauv qab no rau hauv Terminal, tom qab ntawd nias Return.

    /usr/bin/ruby -e $(curl -fsSL

  3. Raws li ib feem ntawm kev teeb tsa, Homebrew tseem yuav nruab Apple's Xcode tus tsim tawm software. Lub pop-up yuav ua rau koj pom zoo qhov no.
  4. Nias lub Return tus yuam sij txuas ntxiv.
  5. Tau koj tus password tus thawj tswj hwm, tom qab ntawd nias Return dua.
  6. Lub Homebrew installation yuav pib. Tej zaum nws yuav siv sij hawm li ob peb feeb los txhim kho kom tiav.
  7. Thaum kawg ntawm cov ntawv ntawm lub qhov rais Terminal, koj yuav pom cov lus Installation tiav.

    Image
    Image

    Koj tseem yuav pom cov ntaub ntawv hais txog Homebrew analytics thiab qhov txuas yog tias koj xav kawm ntxiv. Koj tuaj yeem xaiv tawm ntawm kev sib sau ua ke yog tias koj xav tau lub hom phiaj ntiag tug.

  8. Kaw lub qhov rais Terminal.

Homebrew yog dab tsi?

Homebrew yog tus thawj tswj hwm pob Mac nrov tshaj plaws. Cov pob khoom yog pob khoom ntawm qhov chaws tsim los ntawm cov neeg tsim khoom. Qee cov ntaub ntawv yuav yog cov kev pab cuam, kev txhawb nqa code, thiab lwm yam khoom thiab cov khoom uas xav tau rau cov software khiav. Homebrew txhim kho qhov chaw qhib, cov cuab yeej hais kom ua kab, thiab cov ntawv thov xws li Google Chrome thiab VLC siv zog nrog ib qho lus txib. Koj tsis tas yuav txhawj xeeb txog unzipping cov ntaub ntawv lossis txhim kho cov software hauv ib qho kev txiav txim. Homebrew ua txhua yam rau koj.

Cov neeg siv Mac feem ntau paub txog kev rub cov ntaub ntawv DMG mus rau daim ntawv thov nplaub tshev rau nruab software. Qee zaum, cov kev teeb tsa no ua tsis tiav vim tias koj yuav tsum tau ua cov kauj ruam ntxiv ua ntej. Nrog Homebrew, tag nrho cov yuav tsum tau ua ua ntej tau txais kev txiav txim kom raug.

How to Use Homebrew

Siv Homebrew, qhib Terminal, nkag mus rau cov lus txib uas siv cov ntawv qis, tom qab ntawd nias Return txhawm rau ua nws. Paub txog qhov chaw thiab hyphens.

Sim khiav brew kws kho mob txhawm rau xyuas kom pom tias txhua yam teeb tsa zoo thiab xyuas kom tsis muaj qhov hloov tshiab uas koj xav tau thov. Khiav brew pab kom pom cov npe ntawm cov lus txib.

Helpful Homebrew Apps

Hauv qab no yog qee cov lus txib Homebrew muaj txiaj ntsig los sim. Hauv qhov rai Terminal, nkag mus rau cov ntawv bolded hauv qab no, tom qab ntawd nias lub Return tus yuam sij.

  • brew nruab wget: Ib lub cuab yeej rau rub tawm ntawm lub vev xaib thiab FTP los ntawm kab hais kom ua.
  • brew nruab htop: Ib qho beefed-up Activity Monitor rau Terminal uas saib xyuas cov txheej txheem kev ua ub no, CPU kev ua ub no, kev siv nco, kev siv nruab nrab, thiab kev tswj cov txheej txheem.
  • brew nruab daim ntawv qhia: Lub network ruaj ntseg scanner zoo rau cov thawj coj kev nyab xeeb thiab cov kws tshawb fawb. Siv nws, koj tuaj yeem pom cov tswv thiab cov kev pabcuam hauv lub network hauv zos, kuaj xyuas cov haujlwm, software versions, cov neeg siv khoom, servers, thiab lwm yam khoom muaj nqis hauv network.
  • brew install links: Ib lub web browser uas yuav qhia koj tag nrho cov ntawv ntawm ib lub vev xaib.
  • brew nruab geoip: Ib lub cuab yeej siv los nrhiav qhov chaw nyob ntawm tus IP chaw nyob.
  • brew nruab irssi: Ib tus neeg nyiam IRC tham.
  • brew nruab watch: Ib lub app saib xyuas uas saib xyuas cov txheej txheem tshwj xeeb (IO, kev siv disk, thiab lwm yam khoom). Saib yog lwm lub cuab yeej zoo rau cov thawj coj hauv network.

Txhawm rau nrhiav tau txhua yam uas koj tuaj yeem ua nrog nws thiab tshuaj xyuas cov ntaub ntawv tag nrho, koj tuaj yeem mus saib lub vev xaib raug cai ntawm brew.sh.

Pom zoo: