Install the LoopBack CLI tool to create and develop LoopBack 3.0 apps.
Page Contents

Although in theory, you could code a LoopBack application from scratch, installing the LoopBack CLI tool makes it much easier to get started. It will scaffold an application that you can then customize to suit your needs. For more information, see Command-line tools.

You have two options for LoopBack tools:

  • Install IBM API Connect developer toolkit, which includes:
    • The graphical API Designer tool that you can use to create and modify LoopBack applications.
    • The apic command-line tool for scaffolding and modifying LoopBack applications.

Prerequisite: install Node.js

If you haven’t already installed Node, download and install Node.js. For best results, use the latest LTS (long-term support) release of Node.js.

Install the LoopBack CLI tool

To install the LoopBack command-line interface (CLI) tool, enter the command:

npm install -g loopback-cli

This installs the lb command-line tool for scaffolding and modifying LoopBack applications. For more information, see Command-line tools.

Next steps

Follow Getting started with LoopBack and read LoopBack core concepts.

Tags: installation