Does anyone know where I can install the prisma en...
# orm-help
a
Does anyone know where I can install the prisma engine executables directly? (introspection, migration, query, and prisma-fmt)? I’m on a mac and for an installation I’m doing, I need the
rhel
engines to make it work.
a
Yeah, I have that for my schema file, but I need access to the engines to be used in an offline
migrate deploy
similar to how it’s detailed here: https://www.prisma.io/docs/concepts/components/prisma-engines
r
I didn’t quite get your use case. Probably @janpio has an idea.
j
The default
binaryTargets
only works for the Client (so Query Engine) @Ryan - so this might be a bit more complicated.
So you need all engines for
rhel
as well @Alex Okros as you are trying to run e.g. the CLI for Migrate on a
rhel
environment, while downloading the engines (via running
npm install
) on a Mac/Darwin environment?
Then I think this might do the job: https://www.prisma.io/docs/reference/api-reference/environment-variables-reference#prisma_cli_binary_targets (But it is a really seldomly used feature, so not 100% sure it works exactly like documented - try it out and let me know and I can have a look) In your case it would be exactly the value as specified in the docs.