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:
- Check your current npm configuration:
npm config ls
- Create or edit your
.npmrcfile:
touch .npmrc
- Add these required registry settings:
registry=https://registry.npmjs.org/
"@dna-platform:registry"="https://npm.platform.dnadev.net"