Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

add current user to ollama group on install (#772)

Bruce MacDonaldc039432b5caa
diff --git a/scripts/install.sh b/scripts/install.sh
index 9b6159895..93bd1eaf5 100644
--- a/scripts/install.sh
+++ b/scripts/install.sh
@@ -74,6 +74,9 @@ configure_systemd() {
$SUDO useradd -r -s /bin/false -m -d /usr/share/ollama ollama
fi
+ status "Adding current user to ollama group..."
+ $SUDO usermod -a -G ollama $(whoami)
+
status "Creating ollama systemd service..."
cat <<EOF | $SUDO tee /etc/systemd/system/ollama.service >/dev/null
[Unit]