Mac Installation

Prerequisites

Operating System: macOS with Apple Silicon

Dependency: Ollama must be installed and running locally.

1. Download the Installation Script:

Ensure you have access to the terminal.

Download the following installation script into a directory on your machine from our repo. https://github.com/inferanetwork/install-scripts

2. Run the Installation Script:

Open your terminal and navigate to the directory where the install_node.sh script is saved.

Make the script executable by running:

Apple M Series

chmod +x install_script_m_chips.sh
./install_script_m_chips.sh

Apple Intel Series

chmod +x install_script_intel.sh
./install_script_intel.sh

3. Update Shell Configuration:

The script will automatically create an alias named init-infera for running the Infera node.

If you are using Zsh, you’ll need to manually add the alias to your ~/.zshrc file with the following:

echo "alias init-infera='~/infera'" >> ~/.zshrc && source ~/.zshrc

4. Running Infera Node:

Once everything is installed with the shell configured, you can start the Infera node by running the following command:

init-infera

5. (Optional) Downloading via cURL

You can also download the node through our curl request as well with the following command:

Apple M Series

curl -O https://www.infera.org/scripts/install_script_m_chips.sh
chmod +x install_script_m_chips.sh
./install_script_m_chips.sh
echo "alias init-infera='~/infera'" >> ~/.zshrc && source ~/.zshrc

Apple Intel Series

curl -O https://www.infera.org/scripts/install_script_intel.sh
chmod +x install_script_intel.sh
./install_script_intel.sh
echo "alias init-infera='~/infera'" >> ~/.zshrc && source ~/.zshrc

Last updated