slc command-line utility to create, manage, and work with LoopBack applications and other Node applications.
The documentation uses the following conventions for command-line syntax. In general:
- An item in
monospace italicsrepresents a variable for which you can substitute a string or number, as specified for the specific command.
- An item enclosed in square brackets
[ .. ]represents an optional item.
command indicates one of the
slc commands (see table below).
[sub-command] indicates a sub-command, for commands that take a sub-command, for example
[options] indicates one or more command options, possibly with corresponding values, as described for the particular command. Options, as their name implies, are typically optional. However, some commands or sub-commands have required "options," as noted in the command reference for the specific command.
Syntax for options is:
-x value: Single-letter option; separate value (if provided) with a space.
--extra value: Full spelled-out option; separate value (if provided) with a space or an equals sign (=).
Where value is either:
<foo>, a value that you must provide, either a string or number, as described for the particular command.
[foo], a value that you may optionally provide. It is not required.
[args] is an optional argument.
slc commands have the two standard options below. Most commands also have additional options.
Display help information.
Display version number.
The following table summarizes
slc commands. Each command has specific options and arguments, and some provide sub-commands, as described in each command reference article.
|slc arc||Start StrongLoop Arc|
|build||Build a Node application package, preparing it to be deployed.|
|debug||Debug module with Node Inspector.|
|deploy||Deploy a Node application to a process manager.|
|env||Display information about the Node runtime environment.|
|loopback||Scaffold a LoopBack application. See Command-line reference for details.|
|pm||Manage deployed Node applications with StrongLoop Process Manager.|
|ctl||Control applications using StrongLoop Process Manager.|
|pm-install||Install StrongLoop Process Manager as an OS service.|
|registry||Switch between different npm registries.|
|start||Run an application locally, under control of StrongLoop Process Manager.|
See Updating to the latest version for instructions.