macOS Server Installation
Quick Start on macOS (Apple Silicon and Intel)
Section titled “Quick Start on macOS (Apple Silicon and Intel)”To quickly install and run EdgeIQ on macOS:
-
Download the Latest Binary
Visit the downloads page or use this direct link for macOS:http://downloads.behavure.ai/latest/edgeiq-aarch64-apple-darwin.tar.xz -
Extract the Binary
Open Terminal and run:tar -xf edgeiq-aarch64-apple-darwin.tar.xz -
Move the Binary to Your PATH
Move the extracted binary to a folder in yourPATH
, such as/usr/local/bin
:sudo mv edgeiq /usr/local/bin -
Run EdgeIQ
Start the server with:edgeiq run serverThe server runs on
http://localhost:3000
by default. -
Log In
After startup, the terminal will show a randomly generated admin password. Use this to log in asadmin
via the browser.
Tip: You may need to allow the binary to run via System Preferences → Security & Privacy if macOS flags it as unverified.
Manual Installation
Section titled “Manual Installation”If you prefer to set up the server manually, follow these steps:
- Create a data directory
- Configure environment variables
- Start the Server
By the end of this section, you should be able to access the Server via a browser.
Create a Data Directory
Section titled “Create a Data Directory”The Server requires a data directory to store Jobs, logs, and metric data.
Create a directory for EdgeIQ data:
mkdir -p ~/Library/Application\ Support/EdgeIQ
Configure Environment Variables
Section titled “Configure Environment Variables”The Server can be configured through environment variables. Create a shell script to set these variables:
cat > ~/edgeiq-server.env << EOFEDGEIQ_STAGING_DIR=~/Library/Application\ Support/EdgeIQEDGEIQ_LICENSE_EULA_ACCEPT=yesEDGEIQ_ADMIN_INIT_PASSWORD=ChangeMeVerySoonEOF
We’ve added 2 additional environment variables:
EDGEIQ_LICENSE_EULA_ACCEPT=yes
prevents the one-time prompt for accepting the EULA.EDGEIQ_ADMIN_INIT_PASSWORD
provides an initialpassword
for the Serveradmin
user.
Upon first initialization of the Server user database, if EDGEIQ_ADMIN_INIT_PASSWORD
is unset, a random password
will be generated in the Server STDOUT
output.
Start the Server
Section titled “Start the Server”To start the server with the environment variables:
source ~/edgeiq-server.envedgeiq run server
The Server will be listening on EDGEIQ_BIND_ADDRESS
(default 127.0.0.1:3000
).
For more details, visit the full EdgeIQ Documentation.