Homebrew Installation
Package management tools make it easier to install and update programs, and currently the most popular package management tool in Mac Systems is Homebrew.
We installed the homebrew in order to install the Nebula Chain development environment more convenient and fast.
Installation method First step: Install
Command Line Input
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Enter (here is a hint that the directory does not exist, to create the need to press ENTER)
The installation process occurs if:
Warning: /usr/local/bin is not in your PATH.
You will need to add/usr/local/bin to the environment variable as follows:
vi ~/.bash_profile
To open the. bash_profile file, press the "I" key to edit and add:
export PATH=$PATH:/usr/local/bin
Then press "ESC" key, then ": Wq", then press ENTER to save, then execute the following command, reload let the configuration take effect:
source ~/.bash_profile
Step Two: Detect if the installation is successful
Command Line Input
brew help
If the following information appears, the installation is successful
Example usage: brew search [TEXT|/REGEX/] brew info [FORMULA...] brew install FORMULA... brew update brew upgrade [FORMULA...] brew uninstall FORMULA... brew list [FORMULA...] ...
Nebula Chain Intelligent Contract Development (i): Preparation for Mac Installation