Skip to main content

Installation

Learn how to install and set up the Platform CLI on your system.

Install the CLI

To install the Platform CLI globally, run:

npm i @dna-platform/platform@latest -g

Prerequisites

Important Requirements

Before installing the Platform CLI, ensure you have:

  • Node.js: Version 18.0 or above
    • During Node.js installation, select all dependency-related checkboxes
  • NPM: Latest stable version
  • Valid NPM Configuration: Proper registry settings
NPM Configuration

If you encounter installation issues, follow these steps to configure your NPM:

  1. Check your current npm configuration:
npm config ls
  1. Create or edit your .npmrc file:
touch .npmrc
  1. Add these required registry settings:
registry=https://registry.npmjs.org/
"@dna-platform:registry"="https://npm.platform.dnadev.net"