Installing NocoDB
By the end of this chapter your server is running, you know its exact version from its own mouth, and you know the three settings that decide where everything lives. This lab's route is the standalone binary; the Docker and package routes are described after, from the project's documentation.
The binary, for real
NocoDB publishes a single-file executable — the whole server, web app included, in one download. The documentation's shortcut for Linux is:
curl http://get.nocodb.com/linux-x64 -o nocodb -L
chmod +x nocodb
The lab followed that shortcut and reports what it found, because it is the first honest surprise of this guide: the shortcut currently lands on a 404. It redirects to the newest release — which, since the project switched to calendar version numbers (2026.10.1 as this guide was written), carries no binary assets at all, only source code. The newest release that still ships the official binary is 0.301.5, the last of the 0.x line, and that is what the lab downloaded, directly from the release page:
curl -L -o Noco-linux-x64 \
https://github.com/nocodb/nocodb/releases/download/0.301.5/Noco-linux-x64
What arrived, measured in transcript
t00: a 368 MB ELF executable for
x86-64 Linux. The release publishes no
checksum file — the assets are the
six binaries and a source archive, and
nothing to check them against — so the
lab recorded the size and computed its
own SHA-256
(d374da2e…be957), which is a weaker
guarantee than a published checksum
and is labelled that way in
criteria.md. The project's own
documentation also carries a fair
warning about the binaries: they are
meant for quick testing locally, while
the Docker route below is the one it
recommends for a server you keep.
First start — and the folder that must exist
Three settings, given as environment variables, run the lab's server:
mkdir -p /path/to/data # this step is not optional
PORT=18104 \
NC_TOOL_DIR=/path/to/data \
NC_DISABLE_TELE=true \
./Noco-linux-x64
PORT— the port the server listens on (default 8080).NC_TOOL_DIR— the folder holdingnoco.dband, later, attachments.NC_DISABLE_TELE— turns off the anonymous usage telemetry. Off is this guide's suggestion; the info endpoint in transcript t02 confirms"teleEnabled":false.
The mkdir matters. The lab's first
start pointed NC_TOOL_DIR at a folder
that did not exist yet, and the server
died in a decorated box whose message
is worth meeting here rather than in
the dark (transcript t01):
EXCEPTION OCCURED!! in SqliteClient @ createDatabaseIfNotExists
MESSAGE: ENOENT: no such file or directory, open
'.../tool/noco.db'
The binary does not create the tool
directory for you. Make the folder
first, start again, and give it time —
on the lab's small, shared machine the
first start took about three minutes
before the port answered. A healthy
start creates noco.db in the tool
directory, answers a plain OK at
http://localhost:18104/, serves the
web app, and reports itself at the
info endpoint:
curl http://localhost:18104/api/v1/db/meta/nocodb/info
{"version":"0.301.5","env":"production",
"connectToExternalDB":true,"firstUser":true, ...}
That version field is how this guide
knows what it ran — the server's own
answer, not the filename's claim.
The other routes, documented
For a server you keep, the project's
recommended route is Docker: one
container (nocodb/nocodb) with a
volume mounted where this chapter's
tool directory would be, or its
single-command installer script, which
sets up NocoDB with PostgreSQL and a
proxy on one machine. There is also an
npm route (npx nocodb / installing
the nocodb package) for people who
already live in Node.js, and assorted
community packages (Homebrew, Nix, and
one-click hosts). This lab ran none of
them; they start the same server and
everything from chapter 4 onward
applies unchanged. What changes between
routes is only where noco.db and the
attachments sleep — which is why
chapter 2 made you learn the moving
parts first.