MacOS Deployment Tutorial
This document will guide you through deploying Nekro Agent on MacOS systems.
🌈 Environment Preparation
Since Nekro Agent runs based on Docker, we recommend using OrbStack as the container management tool on MacOS, and deploy through its virtual machine functionality.
Install OrbStack
Method 1: Install using Homebrew (Recommended)
bash
brew install --cask orbstackMethod 2: Direct Download and Installation
- Visit OrbStack Official Website to download the latest version
- Start OrbStack application after installation is complete
- Confirm OrbStack is running properly (OrbStack icon should be displayed in the status bar)
Create and Use OrbStack Virtual Machine
- Open OrbStack application
- Click "Create Machine" to create a new Linux virtual machine (Ubuntu is recommended)
- Or use command line to create:
bash
orb create ubuntu my-machineUsing Virtual Machine in OrbStack
OrbStack provides a simple way to enter virtual machines and execute commands:
- Directly type
orbcommand to enter the terminal of the default virtual machine - Use
orb -m <virtual machine name>to enter a specified virtual machine - Use
orb <command>to execute commands in the default virtual machine - Use
orb -m <virtual machine name> <command>to execute commands in a specified virtual machine
For example:
bash
# Enter the default virtual machine
orb
# Enter the virtual machine named ubuntu
orb -m ubuntu
# Execute ls command in the default virtual machine
orb ls
# Execute ls command in the ubuntu virtual machine
orb -m ubuntu ls🚀 Deployment Methods (in OrbStack Virtual Machine)
After entering the OrbStack virtual machine, the deployment process is completely identical to that in a standard Linux environment.
Please refer to the Linux Deployment Tutorial to complete subsequent deployment and configuration.
