Install Homebrew on you MacOS (Macbook M1, M1 Pro, M1 Max)

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024
  • НаукаНаука

Комментарии • 112

  • @mariomeza3514
    @mariomeza3514 2 года назад +10

    THANKYOU!!!! I thought I was gonna have to give up my dream job as a software developer because I thought I was gonna spend years trying to install git but never figure it out. But now it worked thankyou 😌

  • @Bonc-Chicken
    @Bonc-Chicken Год назад +22

    When i try to type in the code it just says command not found: code when i put in code .zprofile

    • @nabeanrokaya3691
      @nabeanrokaya3691 3 месяца назад

      same here

    • @balajik1048
      @balajik1048 Месяц назад

      mine too

    • @akarshhhhh
      @akarshhhhh Месяц назад

      you need to have visual studio/ vs code installed or it will throw that error

    • @Nothingtosaymore
      @Nothingtosaymore Месяц назад

      ​@@akarshhhhhI have vs code but showing see problem

  • @Aje7853
    @Aje7853 Год назад +1

    Ohh thank you so much you save my whole weekend searching tutorial videos about this, I'm glad I found this.

  • @maheenqaisar
    @maheenqaisar Год назад +11

    Rule # 1 If you're installing HomeBrew, be patient with the installation process.
    Thank you for the great tutorial. ❤

  • @lizvey4777
    @lizvey4777 2 года назад +16

    He doesn't mention this, and I don't get why, but if it looks like TERMINAL IS NOT LETTING YOU TYPE THE PASSWORD, it is, you just can't see that you're typing it and they do that on purpose for security reasons and such.

    • @spacebar9733
      @spacebar9733 Год назад +2

      OMG THANK U SM

    • @beauty_isabella
      @beauty_isabella Год назад +1

      thanks so much, i got confuse at that point, let me add something remember to click enter

    • @gaumz3393
      @gaumz3393 Год назад

      THANK YOU SO MUCH

    • @TheCray101
      @TheCray101 Год назад

      Thank you so much for this!

    • @prathamsehgal1746
      @prathamsehgal1746 10 месяцев назад

      it is not showing the password and when I am typing it is showing everything that I typed

  • @florentinodelarosa1207
    @florentinodelarosa1207 Год назад +4

    The two commands it tells you to run as the next steps for me to not get "command not found: code" I copied the first command then pasted. Following this first command I typed a space, then two ampersands, then another space, lastly I copied and pasted the second command, then pressed enter.

  • @joshuafernando291
    @joshuafernando291 2 года назад +12

    sir, i get "code .zprofile
    zsh: command not found: code" what's a problem?
    thank u

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      Make sure you are using .zsh shell. If not just do this.
      chsh -s /bin/zsh

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      and try again installing homebrew it should work.

    • @mohammadanzar6785
      @mohammadanzar6785 2 года назад +6

      @@CodeWithArjun not working, still code not found error is coming

    • @swisscodes456
      @swisscodes456 Год назад +1

      @@mohammadanzar6785 same issue with me

    • @bcozwhynot07
      @bcozwhynot07 Год назад

      I'm also facing same issue

  • @gabrielalmeida6085
    @gabrielalmeida6085 Год назад +5

    when I type "code .zprofile" it says "command not found: code", what can I do?

    • @florentinodelarosa1207
      @florentinodelarosa1207 Год назад

      This happened to me also.

    • @niks5153
      @niks5153 Год назад

      same , what to do next
      @@florentinodelarosa1207

    • @sofia.joplin
      @sofia.joplin 11 месяцев назад

      me too

    • @Cingkucingmoo
      @Cingkucingmoo 11 месяцев назад

      you can scroll below, theres someone named @radziahzainuddin6164 who give the solution, thanks to him

    • @Cingkucingmoo
      @Cingkucingmoo 11 месяцев назад +3

      or i can just drop what he said here
      Open Visual Code Studio and press Up-Arrow + Command + P. Then type ¨>Shell command: Uninstall ´code´ command from PATH¨ and click on it. Once that is done, you type ¨>Shell command: Install ´code´ command in PATH¨ and click on it to install the code command again.
      That should work just fine.

  • @ashwaniagrawal27
    @ashwaniagrawal27 Год назад +4

    after wrting code z.profile it is showing like this
    zsh: command not found: code
    now what to do please tell??

    • @sanjanasharma6200
      @sanjanasharma6200 Год назад +2

      same problem came up to me too did u got the solution ???

    • @ashwaniagrawal27
      @ashwaniagrawal27 Год назад +1

      @@sanjanasharma6200 no i didn't get the solution.
      If you find it please tell

    • @smallboss4
      @smallboss4 8 месяцев назад

      did you find the solution ? i have the same problem as you

    • @ashwaniagrawal27
      @ashwaniagrawal27 8 месяцев назад +1

      @@smallboss4 bro i have restarted the mac and repeated the whole process again.
      Suprisingly it works.

  • @ThrillDaWill
    @ThrillDaWill Год назад +2

    I followed up until 0:49 but this is what I ended up getting:
    "fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.
    Failed during: git fetch --force origin refs/heads/master:refs/remotes/origin/master"

  • @hanieshmt
    @hanieshmt Год назад +1

    I watched many videos but could not install. I was able to with your video👌🏻

  • @augustinecalvin7722
    @augustinecalvin7722 2 года назад +1

    Thank you so much! This was so incredibly helpful!

  • @lidisirodriguez5340
    @lidisirodriguez5340 Год назад +1

    Awesome! This was so helpful! Thank you.

    • @CodeWithArjun
      @CodeWithArjun  Год назад

      Glad it was helpful!

    • @yusufnusrat
      @yusufnusrat Год назад

      @@CodeWithArjun hi, how are you doing, zsh: command not found: code
      it says that the command is not found, can you help mw with this, thanks, btw i have the m2 macbook

  • @Ivan-hj8li
    @Ivan-hj8li Год назад +1

    Hey! sorry it says zsh: comand not found "code"

  • @chocolatewon
    @chocolatewon 2 года назад +2

    I dont have any of the above models, I'm using a 2015 macbook air. When I pasted the line as instructed I didn't get an installation successful line, only "downloading command line tool for XCode". How can I fix this?

  • @krkarthikreddy
    @krkarthikreddy 2 года назад +2

    thanks a ton bro. that last step to change path is not mentioned in documentation also. 😅👍

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      Most welcome 😊 Be sure to subscribe.

  • @coltonwilliams3176
    @coltonwilliams3176 2 года назад

    I did a time machine backup from my old Intel mac into my new M1 mac. Everything seems to be working perfectly. The only two issues were I had to make my iTerm2 terminal open using Rosetta and all when I try to reinstall Brew exactly as you are doing in the video it continues to install it in the /usr directory. ..

  • @statusmaster5759
    @statusmaster5759 Год назад

    Bhai terminal me jab me paste kar k enter kar raha hu orr thodi der wait kar raha hu fir meko failed aa raha h couldn't connect to server aa rhae

  • @jsc0625
    @jsc0625 2 года назад +1

    Big thank you for this!

  • @keralacodingacademykca4597
    @keralacodingacademykca4597 2 года назад +1

    Thankyou bro.Life saver

  • @eishwezinthit6337
    @eishwezinthit6337 2 года назад +1

    This helps me a lot

  • @naichengkho4868
    @naichengkho4868 Год назад +1

    this work!!!, thank you

  • @shreyaswani1051
    @shreyaswani1051 2 года назад +1

    hey bro, How much data it takes to download Homebrew??

  • @anjalichauhan6224
    @anjalichauhan6224 Год назад

    Thankyou so much ❤

  • @GeorgeNgAltGreens
    @GeorgeNgAltGreens 2 года назад +1

    Thanks for this. I received an error "/bin/bash: line 186: /usr/local/bin/git: Bad CPU type in executable Failed during: git init -q" after homebrew. Any thoughts on fixing this error

    • @GeorgeNgAltGreens
      @GeorgeNgAltGreens 2 года назад

      I'm using a Apple MBA M1

    • @restless941
      @restless941 2 года назад

      @@GeorgeNgAltGreens You need to install Rosetta 2 first. type this in your terminal -
      "softwareupdate --install-rosetta" without the quotations

    • @pedropablocc7107
      @pedropablocc7107 2 года назад

      ​@@GeorgeNgAltGreens did you manage to fix it?

    • @ryuzaky2605
      @ryuzaky2605 2 года назад

      same problem i dont how i can do

  • @prof-caio-jannuzzi
    @prof-caio-jannuzzi 2 года назад +1

    thank u bro!

  • @akashtiwari1677
    @akashtiwari1677 3 месяца назад +1

    Thank you

  • @positively8461
    @positively8461 3 месяца назад

    its showing ; zsh: command not found: code

  • @anomid8076
    @anomid8076 2 года назад +3

    How can I input the password?

  • @manideepakjandyam
    @manideepakjandyam Год назад

    I'm getting code . zprofile not found even after pasted the command provided there, anyone help ?

  • @iamadilhusain
    @iamadilhusain 2 года назад +2

    het bro, in my Mac first command line tools for Xcode is installing then home brew is installing why?

  • @kasidurai4006
    @kasidurai4006 Месяц назад

    Hi @ Code with Arjun
    when I give code .zprofile . For me I am getting as zsh.command not found for the MAC os system. Kindly help .

  • @mayankverma8334
    @mayankverma8334 2 года назад +1

    Thankyou bro❤️

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      Welcome, Glad it was helpful for you. Keep supporting my channel.

    • @mayankverma8334
      @mayankverma8334 2 года назад

      @@CodeWithArjun ni hora mere me

    • @mayankverma8334
      @mayankverma8334 2 года назад +1

      Sir zoom krk bata denge kya please

    • @CodeWithArjun
      @CodeWithArjun  2 года назад

      @@mayankverma8334 Have you checked you .zprofie ?

    • @mayankverma8334
      @mayankverma8334 2 года назад +1

      @@CodeWithArjun yes aap jaisa bataye h vaisa hi

  • @Ray72271
    @Ray72271 Год назад +2

    When I input "code .zprofile" I get the results saying "command not found"

    • @Austinfdp
      @Austinfdp Год назад

      i didnt need to put that command

  • @navyashreetm984
    @navyashreetm984 9 месяцев назад

    am getting this error (error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: CANCEL (err 8)
    error: 7654 bytes of body are still expected
    fetch-pack: unexpected disconnect while reading sideband packet
    fatal: early EOF
    fatal: fetch-pack: invalid index-pack output
    Failed during: /usr/bin/git fetch --force origin)

  • @loujaienelsherbiny4874
    @loujaienelsherbiny4874 2 года назад

    hello Im using an M1. When I try to use the hash cat I get "build failed:
    Initializing backend runtime for device #1. Please be patient...UNSUPPORTED (log once): buildComputeProgram: cl2Metal failed
    clBuildProgram(): CL_BUILD_PROGRAM_FAILURE
    Compilation failed:
    program_source:7:10: fatal error: 'inc_vendor.h' file not found
    #include "inc_vendor.h"
    ^~~~~~~~~~~~~~

  • @radziahzainuddin6164
    @radziahzainuddin6164 2 года назад +10

    Hi, when i put code .zprofile, it said command not found: code

    • @germanenriquez8891
      @germanenriquez8891 2 года назад +26

      Easy fix. Open Visual Code Studio and press Up-Arrow + Command + P. Then type ¨>Shell command: Uninstall ´code´ command from PATH¨ and click on it. Once that is done, you type ¨>Shell command: Install ´code´ command in PATH¨ and click on it to install the code command again.
      That should work just fine.

    • @anjaan_musafirr
      @anjaan_musafirr 2 года назад +1

      @@germanenriquez8891 Thanks bro

    • @theAplaBetman27
      @theAplaBetman27 2 года назад +1

      @@germanenriquez8891 Thank you so much for this as well!

    • @giogio_7777
      @giogio_7777 2 года назад +1

      @@germanenriquez8891 many thanks dude !

    • @ilytomhiddleston9450
      @ilytomhiddleston9450 2 года назад +1

      @@germanenriquez8891 Thanks, I was losing my mind for a second

  • @kyeity
    @kyeity 2 года назад +1

    Thank you