Back to Prisma1

Installing The Beta B5op

docs/1.24/releases-and-maintenance/releases-and-beta-access/installing-the-beta-b5op.mdx

1.34.121.3 KB
Original Source

import Code from 'components/Markdown/Code'

export const meta = { title: 'Installing the Beta', position: 110 }

Beta access

Prisma CLI

You can get access to the latest beta release of the Prisma CLI by appending the @beta-tag when installing it via NPM:

npm install -g prisma@beta

Prisma server (Docker)

You can find the latest beta Prisma Docker image on Docker Hub. To use the latest version of a Prisma server, you need to configure the image property in your Docker Compose file accordingly by appending -beta to the the version number, e.g.:

<Code lines="4">
yml
version: '3'
services:
  prisma:
    image: prismagraphql/prisma:1.25-beta
    restart: always
    ports:
    - "4466:4466"
    environment:
      PRISMA_CONFIG: |
        managementApiSecret: __YOUR_MANAGEMENT_API_SECRET__
        port: __YOUR_PRISMA_SERVER_PORT__
        databases:
          default:
            connector: __YOUR_DATABASE_CONNECTOR__
            migrations: __ENABLE_DB_MIGRATIONS__
            host: __YOUR_DATABASE_HOST__
            port: __YOUR_DATABASE_PORT__
            user: __YOUR_DATABASE_USER__
            password: __YOUR_DATABASE_PASSWORD__
</Code>

You can also pull the latest beta version directly using the Docker CLI:

bash
docker pull prismagraphql/prisma:1.25-beta