English - Tiếng Việt
Install Nest.js and related softwares
This document is for Windows.
Other operating system: macOS - Linux
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:
- Download Node.js installer at https://nodejs.org/en/download
- Run the installer
Or run command (Chocolatey is required):
cinst nodejs.install
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.
To install it:
- Download the installer at https://www.postman.com/downloads/
- Run the installer
Database
Nest.js applications may need to work with database. To install one of commonly used database, please refer to below links:
- MySQL: https://dev.mysql.com/doc/mysql-installation-excerpt/8.0/en/
- MongoDB: https://www.mongodb.com/docs/manual/installation/#mongodb-installation-tutorials
- PostgreSQL: https://www.postgresql.org/docs/current/installation.html