AGmind-macos
One-command local AI/RAG installer for macOS (Metal): Dify, Open WebUI, Ollama, Weaviate/Qdrant, Postgres, Redis. 230 tests.
File Explorer
- 08-01-SUMMARY.md
- 09-01-PLAN.md
- 09-01-SUMMARY.md
- 09-02-PLAN.md
- 09-02-SUMMARY.md
- 10-01-SUMMARY.md
- 11-01-PLAN.md
- 11-01-SUMMARY.md
- 11-02-PLAN.md
- 11-02-SUMMARY.md
- ARCHITECTURE.md
- FEATURES.md
- PITFALLS.md
- STACK.md
- SUMMARY.md
- v1.1-PITFALLS.md
- REQUIREMENTS.md
- ROADMAP.md
- STATE.md
- backup.sh
- common.sh
- compose.sh
- config.sh
- detect.sh
- docker.sh
- health.sh
- models.sh
- ollama.sh
- openwebui.sh
- wizard.sh
- agmind.sh
- backup.sh
- health-gen.sh
- com.agmind.backup.plist.template
- com.agmind.health.plist.template
- dbgpt-proxy-ollama.toml.template
- docker-compose.yml
- env.lan.template
- env.offline.template
- nginx.conf.template
- versions.env
- brew
- colima
- curl
- df
- docker
- ipconfig
- launchctl
- lsof
- ollama
- plutil
- sudo
- sw_vers
- sysctl
- uname
- setup.bash
- test_agmind.bats
- test_backup.bats
- test_common.bats
- test_compose.bats
- test_config.bats
- test_detect.bats
- test_docker.bats
- test_health.bats
- test_models.bats
- test_ollama.bats
- test_openwebui.bats
- test_wizard.bats
- integration-test.sh
- run-tests.sh
- .gitignore
- install.sh
- LICENSE
- README.md
- README.ru.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bats
View Details ▼
bats
Bash Automated Testing System: a TAP (<https://testanything.org/>) compliant testing framework for Bash.
bats {{[-t|--tap]}} {{path/to/test.bats}}
Run a BATS test script and output results in the TAP (Test Anything Protocol) format:
bats {{[-c|--count]}} {{path/to/test.bats}}
Count test cases of a test script without running any tests:
bats {{[-r|--recursive]}} {{path/to/directory}}
Run BATS test cases recursively (files with a `.bats` extension):
brew
View Details ▼
brew
Homebrew - a package manager for macOS and Linux.
Some subcommands such as `install` have their own usage documentation.
brew install {{formula|cask}}
Install the latest stable version of a formula or cask:
brew list
List all installed formulae and casks:
brew upgrade {{formula|cask}}
Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded):
docker compose up
View Details ▼
docker compose up
Start and run Docker services defined in a Compose file.
docker compose up
Start all services defined in the docker-compose file:
docker compose up {{[-d|--detach]}}
Start services in the background (detached mode):
docker compose up --build
Start services and rebuild images before starting:
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
lsof
View Details ▼
lsof
List open files and the corresponding processes.
Note: Root privileges are required to list files opened by others.
lsof {{path/to/file}}
Find the processes that have a given file open:
lsof -i :{{port}}
Find the process that opened a local internet port:
lsof -t {{path/to/file}}
Only output the process ID (PID):
python3
View Details ▼
python3
This command is an alias of `python`.
tldr python
View documentation for the original command:
sed
View Details ▼
sed
Edit text in a scriptable manner.
See also: `awk`, `ed`.
{{command}} | sed 's/apple/mango/g'
Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`:
{{command}} | sed 's/apple/mango/g'
Replace all `apple` (basic `regex`) occurrences with `mango` (basic `regex`) in all input lines and print the result to `stdout`:
{{command}} | sed 's/apple/mango/g'
[s]ubstitute all occurrences of "apple" with "mango" on all lines, print to `stdout`:
shellcheck
View Details ▼
shellcheck
Statically check shell scripts for errors, usage of deprecated/insecure features, and bad practices.
shellcheck {{path/to/script.sh}}
Check a shell script:
shellcheck {{[-s|--shell]}} {{sh|bash|dash|ksh}} {{path/to/script.sh}}
Check a shell script interpreting it as the specified shell dialect (overrides the shebang at the top of the script):
shellcheck {{[-e|--exclude]}} {{SC1009,SC1073,...}} {{path/to/script.sh}}
Ignore one or more error types:
timeout
View Details ▼
timeout
Run a command with a time limit.
timeout 3s sleep 10
Run `sleep 10` and terminate it after 3 seconds:
timeout {{[-s|--signal]}} {{INT|HUP|KILL|...}} {{5s}} {{sleep 10}}
Send a signal to the command after the time limit expires (`TERM` by default, `kill -l` to list all signals):
timeout {{[-v|--verbose]}} {{0.5s|1m|1h|1d|...}} {{command}}
Send verbose output to `stderr` showing signal sent upon timeout:
umask
View Details ▼
umask
Manage the read/write/execute permissions that are masked out (i.e. restricted) for newly created files by the user.
umask
Display the current mask in octal notation:
umask -S
Display the current mask in symbolic (human-readable) mode:
umask {{a+r}}
Change the mask symbolically to allow read permission for all users (the rest of the mask bits are unchanged):
apt-get
View Details ▼
apt-get
Debian and Ubuntu package management utility.
Search for packages using `apt-cache`.
It is recommended to use `apt` when used interactively in Ubuntu versions 16.04 and later.
sudo apt-get update
Update the list of available packages and versions (it's recommended to run this before other `apt-get` commands):
sudo apt-get install {{package}}
Install a package, or update it to the latest available version:
sudo apt-get remove {{package}}
Remove a package:
sysctl
View Details ▼
sysctl
List and change kernel runtime variables.
sysctl {{[-a|--all]}}
Show all available variables and their values:
sysctl -a
Show all available variables and their values:
sysctl {{[-w|--write]}} {{section.tunable}}={{value}}
Set a changeable kernel state variable:
systemctl
View Details ▼
systemctl
Control the systemd system and service manager.
Some subcommands such as `disable`, `status`, `reboot` etc. have their own usage documentation.
systemctl status
Show all running services:
systemctl --failed
List failed units:
systemctl {{start|stop|restart|reload|status}} {{unit}}
Start/Stop/Restart/Reload/Show the status of a service:
# Project Badges
-
License Visit
