Files
oam/knowledge base/npm.md

43 lines
809 B
Markdown

# Node Package Manager CLI
## Table of contents <!-- omit in toc -->
1. [TL;DR](#tldr)
1. [Further readings](#further-readings)
1. [Sources](#sources)
## TL;DR
```sh
# 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
- Official [documentation]
- [node.js]
## Sources
All the references in the [further readings] section, plus the following:
<!-- upstream -->
[documentation]: https://docs.npmjs.com/cli/
<!-- internal references -->
[further readings]: #further-readings
[node.js]: node.js.md
<!-- external references -->