1.2 KiB
1.2 KiB
macOS Bash v4 Upgrade Instructions
When using the run_embark <cmd>
commands, you receive the error ERROR: this script requires Bash version >= 4.0
on macOS, follow the steps below to upgrade bash to v4:
- Install HomeBrew (if not already installed):
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Update HomeBrew packet database and install bash:
brew update && brew install bash
- Change your application to use the correct shell. For example, in Terminal, open Preferences, then change Shells open with: to
/usr/local/bin/bash
: In iTerm2, change Preferences > Profiles > (Select profile) > General > Command > Command to/usr/local/bin/bash
: bash --version
should show version 4+:$ bash --version
GNU bash, version 4.4.23(1)-release (x86_64-apple-darwin17.5.0) Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- There is a guide to upgrading to bash 4 in macOS if you need more help.