Files
oam/knowledge base/npm.md
2023-07-09 20:48:18 +02:00

651 B

Node Package Manager CLI

Table of contents

  1. TL;DR
  2. Further readings

TL;DR

# Disable SSL verification.
npm config set 'strict-ssl'='false'

# Use a custom CA certificate.
npm config set 'cafile'='path/to/ca/cert.pem'

# Install packages.
npm install '@pnp/cli-microsoft365'
npm install -g '@pnp/cli-microsoft365@latest'

# Remove packages.
npm uninstall '@pnp/cli-microsoft365'

Further readings