Skip to content

Cannot install Crystal .pkg files completely broken on macOS. #15686

Open
@pateljoel

Description

@pateljoel

I tried to install Crystal 1.16.1, specifically crystal-1.16.1-1.universal.pkg

and I get this error:

Image

The command line gives me the same thing.

sudo installer -pkg ~/Downloads/crystal-1.16.1-1.universal.pkg -verbose -target /
installer: Error - Crystal can’t be installed on this computer.

I've tried searching what the issue maybe before submitting this issue to no avail on what could be causing this.

I installed other .pkg files just fine, but it looks like crystal's .universal.pkg installer is broken.

I would install crystal via homebrew but LLVM takes up massive GBs and way too much space on my machine just to install crystal, I do have ample space though but not to let LLVM take too much space.

Help would be appreciated.

Reproduce:

  1. Download crystal-1.16.1-1.universal.pkg
  2. Get past the macOS installer warnings in System Settings > Privacy & Security > Security > (Open Anyway)
  3. Get to the installer screen and I am presented with the "Crystal can’t be installed on this computer." message.

MacBook Air (Intel)
macOS 15.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugA bug in the code. Does not apply to documentation, specs, etc.platform:darwin

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions