Command Line Interface

This document outlines the functionality of the deepforge command line interface (provided after installing deepforge with npm install -g deepforge).

  • Installation Configuration
  • Starting DeepForge or Components
  • Update or Uninstall DeepForge
  • Managing Extensions

Installation Configuration

Installation configuration can be edited using the deepforge config command as shown in the following examples:

Printing all the configuration settings:

deepforge config

Printing the value of a configuration setting:

deepforge config blob.dir

Setting a configuration option, such as blob.dir can be done with:

deepforge config blob.dir /some/new/directory

For more information about the configuration settings, check out the configuration page.

Starting DeepForge Components

The DeepForge server can be started with the deepforge start command. By default, this command will start both the server and a mongo database (if applicable).

The server can be started by itself using

deepforge start --server

Update/Uninstall DeepForge

DeepForge can be updated or uninstalled using

deepforge update

DeepForge can be uninstalled using deepforge uninstall

Managing Extensions

DeepForge extensions can be installed and removed using the deepforge extensions subcommand. Extensions can be added, removed and listed as shown below

deepforge extensions add
deepforge extensions remove some-extension
deepforge extensions list