0

I need to somehow get the files for Compodoc downloaded and moved to another system that does not have internet access.

How can I download the Compodoc utility and install it to the offline system?

I don't see any information pertaining to offline installs on their site. https://compodoc.app/guides/installation.html

This tool generates documentation for the Angular CLI project and our project really needs to be documented.

edjm
  • 4,830
  • 7
  • 36
  • 65

1 Answers1

0

Create a local npm working folder, and then copy that folder.

mkdir example
cd example
npm init
npm install --save-dev @compodoc/compodoc

This will install compodoc in the node_modules and you can run it on an offline machine via example/node_modules/bin/compodoc.

It can be made a global command if you add it to the user's path.

Reactgular
  • 52,335
  • 19
  • 158
  • 208