Skip to main content

Tutorial Intro

Let's discover Luby-CLI in less than 5 minutes.

Getting Started

Get started by creating a new microservice.

What you'll need

  • Node.js:
    • When installing Node.js, you are recommended to check all checkboxes related to dependencies.
  • Git:
    • Git is required to clone the template repositories.

Installing Luby-CLI

1. Clone the repository

git clone https://github.com/lubysoftware/Luby-CLI.git

2. Enter in the directory

cd Luby-CLI

3. Install it

bash install.sh

Need to uninstall? bash uninstall.sh

Create new microservice

Create a new microservice using Luby-CLI by using the nest microservice template.

This is the default and it template will automatically be added to your project after you run the command:

luby-cli init my-microservice

You can type this command into Command Prompt, Powershell, Terminal, or any other integrated terminal of your code editor.

The command also installs all necessary dependencies you need to run template.