Skip to the content.

Language English - Tiếng Việt

Install Nest.js and related softwares

This document is for Linux.

Other operating system: Windows - macOS

Table of contents

Installation

Node.js

Node.js is a server environment to run application written in Javscript. Nest.js is a framework on Node.js.

To install Node.js:

Or install by package manager: https://nodejs.org/en/download/package-manager

After installation, verify by this command, if the versions of npm and node are displayed then the installation is success.

node --version
npm --version

Nest.js

Install Nest.js by the command

npm i -g @nestjs/cli

After installation, verify by this command, if the version of nest is displayed then the installation is success.

nest --version

Postman

Postman is a tool to work with APIs in order for testing and building the APIs.

Postman

To install it:

[Desktop Entry]
Encoding=UTF-8
Name=Postman
Exec=/path/to/Downloads/Postman/app/Postman %U
Icon=/path/to/Downloads/Postman/app/resources/app/assets/icon.png
Terminal=false
Type=Application
Categories=Development;

Or run the command (Snap store is required):

snap install postman

Note:

Database

Nest.js applications may need to work with database. To install one of commonly used database, please refer to below links:

Next step

Get started with Nest.js