How can we help?
All Topics
You are here:
Print

How to setup local AI

In order to use the local AI function of the mirror booth, you must follow these steps. 
Download the following file and uncompress it under your Documents folder.
The following steps are required one time only before using the Local AI system.

Open the Terminal app by using the search function(cmd+space).

1 – Write this command, hit “Return” and follow the steps:
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)”

Then:
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”
Note: If it returns the error ‘#: “#!/bin/bash: No such file or directory’ please, write and replace the ” manually, formatting is important

2 – Write down your password and hit “Return” twice. Then wait until finished.


3 – Do as they say. Read the given output by the terminal and locate this text, follow the steps:

==> Next steps:

– Run these two commands in your terminal to add Homebrew to your PATH:

    (echo; echo ‘eval “$(/opt/homebrew/bin/brew shellenv)”‘) >> /Users/XXXXXXXXXXX/.zprofile

    eval “$(/opt/homebrew/bin/brew shellenv)”

4 – Then run this command, press the return key and wait:

brew install cmake protobuf rust [email protected] git wget

5 – Write this command, press the return key, and if a window shows up, accept the prompt:

xcode-select –install

6 – Write this one and press the return key:

xcode-select -p

7 – Then write this and press the return key:

export SDKROOT=$(xcrun –sdk macosx –show-sdk-path)


Steps when running the mirror:

1 – Head to documents, find “Run Local AI.app”.

2 – Right click the app, then click on “Open”. Accept all the required permissions
 and wait until it finish installing.