DELAPARRA
Index
Color
NL
Category: CLI flags

--version, -V (Version)

Explained by Updated

What is --version, -V (Version)?

--version, -V (Version): Print the tool's version string and exit. Always useful when reproducing bugs. --version prints which version of a tool you are running, then exits. Most tools also accept -V or -v, although -v often means verbose instead, so check before you rely on it. This is the first thing to check when something works on one machine and not on another. Two developers can run the same command against the same code and get different results, simply because one has Node 18 and the other has Node 22. Put the version in every bug report you write. It saves a round of questions.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about --version, -V (Version)

What should you keep in mind with --version, -V (Version)?

In a project, pin the versions that matter. A .nvmrc, a composer.json platform setting or a Docker base image tag means the build server and your laptop agree. Then --version becomes a quick check that the pin is actually being used.

At a glance

CategoryCLI flags
Explained by
Updated

More CLI flags terms

All terms starting with a number or symbol

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.