Node.js CLI Environment & Config/Set libuv threadpool size

Tune worker threadpool size.

Section: Environment Variables and NODE_OPTIONS

Set libuv threadpool size

bash
bash
UV_THREADPOOL_SIZE=16 node app.js
Explanation

Can matter for fs, crypto, and other libuv-backed async work.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Environment Variables and NODE_OPTIONS
Preload with NODE_OPTIONS
Apply CLI flags through the environment.
OpenIn sheetbashsame section
Run with NODE_ENV=production
Set common production mode.
OpenIn sheetbashsame section
Suppress warnings
Disable warning output.
OpenIn sheetbashsame section
Set timezone
Run process in a chosen timezone.
OpenIn sheetbashsame section
Add extra CA certificates
Trust additional certificate authorities.
OpenIn sheetbashsame section
Honor HTTP proxy env vars
Tell Node to use HTTP_PROXY and related vars.
OpenIn sheetbashsame section