How to Install NocoDB on Pop! OS Latest

NocoDB is an easy-to-use, free, and open-source platform that allows you to build web applications and CRUD APIs. In this tutorial, we will go through the installation process of NocoDB on Pop! OS latest.


Before you start the installation process, make sure you have the following prerequisites:

Step 1: Install Node.js and NPM

The first step we need to do is to install Node.js and NPM. Run the following command in your terminal:

sudo apt install nodejs npm -y

Verify the installation using the command below:

node -v
npm -v

You should see the version numbers of Node.js and NPM if they are installed correctly.

Step 2: Install and Configure PostgreSQL

NocoDB requires a PostgreSQL database to store data. Install PostgreSQL by running the following command:

sudo apt install postgresql -y

By default, PostgreSQL is not configured. Run the following command to log in as the postgres user and configure PostgreSQL:

sudo su postgres

This command will take you to the PostgreSQL command prompt. Now we need to create a new user and database for NocoDB. Run the following commands one by one in order:


Exit from the PostgreSQL prompt by typing \q.

Step 3: Install NocoDB

Now we are ready to install NocoDB. Open your terminal and run the following command:

npm install nocodb -g

Step 4: Configure NocoDB

To configure NocoDB, we need to create a configuration file. Run the following command to create the configuration file:

sudo nano /etc/nocodb/config.json

Paste the following JSON configuration into the opened nano text editor and modify the database credentials with the ones created previously, replace localhost with your server IP address or domain name:

  "db": {
    "host": "localhost",
    "port": 5432,
    "database": "nocodb",
    "user": "nocodb",
    "password": "your_password_here"
  "port": 8080,
  "jwt_secret": "your_jwt_secret_here"

Save and exit the text editor by pressing ctrl+x, y, then enter.

Step 5: Start NocoDB

To start NocoDB, run the following command:

sudo nocodb

NocoDB should now be running on port 8080. You can access it by opening a web browser and going to http://your_server_ip_or_domain_name:8080/.


In this tutorial, we have explained how to install NocoDB on Pop! OS latest. Now you can use NocoDB to create web applications and CRUD APIs easily. Happy coding!

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give a try!