How do I install bash on a Mac?

Đức Lưu

New member
How do I install bash on a Mac?
Answer
5 Answers
  1. Install Homebrew from the docs on their homepage.
  2. Install Git using Homebrew (optional, but nice to have a more up-to-date git ) brew install git.
  3. Now install bash : brew install bash.
  4. Add this install of bash to the allowed shells list: …
  5. Finally, change your shell to use this new one: chsh -s /usr/local/bin/bash.
 

Tìm kiếm

Back
Top