AIMan is a lightweight package manager to handle open-source AI projects, built entirely with Bash scripts and designed to run via the command line. It was developed for personal use on my specific setup (Fedora), so compatibility with other environments might be limited. However, the code is available on GitHub for anyone who finds it useful.
- Stable Diffusion WebUI
- Stable Diffusion WebUI Forge
- ComfyUI
- InvokeAI
- Ollama
- Open WebUI
To securely install AIMan, follow these straightforward steps. This process
involves creating a dedicated user account called aiman
that will be used
to run the AIMan script. Having a separate user account enhances the security
of the installation by limiting the access and permissions on your system.
-
Create a new user for AIMan and set a password:
sudo useradd -m aiman && sudo passwd aiman
-
Switch to the AIMan user:
su - aiman
-
Clone the AIMan repository from GitHub:
git clone https://github.com/martin-rizzo/AIMan.git cd AIMan
-
(optional) Add AIMan to the PATH and update the shell session:
./aiman add2path && source ~/.bashrc
-
(optional) Set the directory where the AI models are located:
./aiman setdir @models /path/to/your/models/directory
-
(optional) Set the output directory for AIMan:
./aiman setdir @output /path/to/your/output/directory
-
Install the web UI project (replace
webui
with the desired project name):./aiman webui.install
-
Launch the web UI (replace
webui
with the desired project name):./aiman webui.launch
Please note that these instructions assume a Linux system and may require additional steps or modifications based on your specific environment.
To launch any AI project after the initial installation, follow these steps:
-
Switch to the AIMan user:
su - aiman
-
Launch the web UI (replace
webui
with the desired project name):aiman webui.launch
This project was developed solely for personal needs. While contributions, bug reports, and pull requests are welcome, please note that AIMan has only been tested on Fedora 40. It may not be compatible with other systems or suitable for production environments.
Copyright (c) 2023-2024 Martin Rizzo
This project is licensed under the MIT license.
See the "LICENSE" file for details.