Skip to content

Macos install problem #5230

Open
Open
@henri9813

Description

@henri9813

Environment, CPU architecture, OS, and Version:
MacOS

➜  ~ uname -r
24.4.0
➜  ~ uname -a 
Darwin MacBookPro.localdomain 24.4.0 Darwin Kernel Version 24.4.0: Fri Apr 11 18:33:47 PDT 2025; root:xnu-11417.101.15~117/RELEASE_ARM64_T6000 arm64

Describe the bug

➜  ~ curl https://localai.io/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 23389    0 23389    0     0   212k      0 --:--:-- --:--:-- --:--:--  213k
  Docker detected.
  Docker detected and no installation method specified. Using Docker.
  Downloading LocalAI v2.28.0...
######################################################################## 100.0%
  Installing to /usr/local/bin/local-ai
install: /usr/local/bin/INS@kEl31B: Permission denied
➜  ~ sudo curl https://localai.io/install.sh | sh
Password:
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 23389    0 23389    0     0   247k      0 --:--:-- --:--:-- --:--:--  248k
  Docker detected.
  Docker detected and no installation method specified. Using Docker.
  Downloading LocalAI v2.28.0...
######################################################################## 100.0%
  Installing to /usr/local/bin/local-ai
install: /usr/local/bin/INS@Z00jK1: Permission denied

Expected behavior
It should workS ?
Logs

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions