#AppleMac

3 messages · Page 1 of 1 (latest)

quiet slate
#

I am new to Prisma. Can it be used on an AppleMac?

golden jasperBOT
#

Skipping coffee for instant knowledge! Let's brew that AI answer now.

golden jasperBOT
# golden jasper Skipping coffee for instant knowledge! Let's brew that AI answer now.

Yes, Prisma can be used on Apple Mac computers, including both Intel-based Macs and Apple Silicon (M1/M2) Macs. Here's what you should know:

Apple Silicon (M1/M2) Support

Prisma has official support for Apple Silicon Macs. Initially, Prisma worked on M1 Macs through Rosetta 2 emulation, but since version 2.27.0, Prisma provides native binaries for Apple Silicon Provide precompiled binaries for Mac's M1 ARM architecture.

Setting Up Databases on Mac

Prisma works with various databases on Mac:

Binary Targets

If you're developing for multiple platforms, you can specify binary targets in your Prisma schema. For Mac development, you can use:

  • darwin for Intel Macs
  • darwin-arm64 for Apple Silicon Macs

If you need to support both architectures, you can use the native target which will automatically select the appropriate binary for your current machine.

Prisma should work out of the box on your Mac without special configuration for most use cases.