Skip to the content.

Language English - Tiếng Việt

Install Nest.js and related softwares

This document is for macOS.

Other operating system: Windows - Linux

Table of contents

Installation

(Optional) Homebrew

Homebrew is an open-source software package mangement system. Some software listed below could be installed by Homebrew.

Install Homebrew by the command

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

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 run command (Homebrew is required):

brew install node

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:

Or run the command (Homebrew is required):

brew install --cask postman

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