AGmind-macos

(★ 15)

One-command local AI/RAG installer for macOS (Metal): Dify, Open WebUI, Ollama, Weaviate/Qdrant, Postgres, Redis. 230 tests.

File Explorer

  • .gitignore
  • install.sh
  • LICENSE
  • README.md
  • README.ru.md

# Use via CDN

jsDelivr

jsDelivr 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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

This command is an alias of `python`.

tldr python

View documentation for the original command:

🔍

sed

View Details ▼

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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

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 ▼

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

// repository documentation