gio info
Print the OS, Node.js, package manager, server binary and @gio.js/* versions - the environment details a bug report needs.
npx gio infopnpm exec gio infoyarn gio infobunx gio infobash
gio info [--json]Reference
| Option | Type | Default | Description |
|---|---|---|---|
--json | boolean | false | Print the report as JSON. |
-h, --help | boolean | - | Print the help and exit with 0. |
Output
text
$ npx gio info
gio 0.1.0-beta.8
Node.js 22.22.0
Platform linux-x64 (glibc), 6.8.0-45-generic
Package manager npm 10.9.2
Server binary 0.1.0-beta.8 (/home/me/shop/node_modules/@gio.js/server-linux-x64/bin/giojs-server)
@gio.js/server 0.1.0-beta.8
@gio.js/core 0.1.0-beta.8
@gio.js/react 0.1.0-beta.8
create-giojs not installed
Project /home/me/shop
gio.toml gio.toml
NODE_ENV (unset)| Row | Where it comes from |
|---|---|
| Platform | OS and CPU, the C library on Linux (glibc or musl), and the kernel release. |
| Package manager | The one running gio (npm_config_user_agent, with its version), else the one whose lockfile the project has (no version), else npm. |
| Server binary | The binary gio dev would run: its package version, or GIO_SERVER_BIN / repository build, and its path. not found (...) with the reason when there is none. |
@gio.js/*, create-giojs | The installed versions, as Node would resolve them from the project. |
| gio.toml | The file the server would read, or none (defaults). |
JSON output
json
{
"gio": "0.1.0-beta.8",
"node": "22.22.0",
"platform": "linux-x64 (glibc)",
"osRelease": "6.8.0-45-generic",
"packageManager": "npm 10.9.2",
"serverBinary": {
"path": "/home/me/shop/node_modules/@gio.js/server-linux-x64/bin/giojs-server",
"source": "package",
"package": "@gio.js/server-linux-x64",
"version": "0.1.0-beta.8"
},
"packages": {
"@gio.js/server": "0.1.0-beta.8",
"@gio.js/core": "0.1.0-beta.8",
"@gio.js/react": "0.1.0-beta.8",
"create-giojs": null
},
"projectRoot": "/home/me/shop",
"gioToml": "gio.toml",
"nodeEnv": null
}serverBinary.source is package, env (GIO_SERVER_BIN) or workspace (a cargo build inside the GioJS repository). Without a binary it is { "missing": "<reason>", "package": "<name>" }.
Examples
Just the versions
text
$ npx gio --version
gio 0.1.0-beta.8 (@gio.js/server)
server binary 0.1.0-beta.8 (@gio.js/server-linux-x64)
@gio.js/core 0.1.0-beta.8gio --version (-v) prints the three versions that must match; gio info adds the rest. Both print package versions, read from the installed package.json files: the server binary's is its platform package's, and the binary itself is never run to ask.
Good to know
gio infochecks nothing and always exits with0; usegio doctorfor checks.- It reads no secrets and does not start the server or probe the port.
Related
gio doctorgio helpandgio --version
Version history
| Version | Changes |
|---|---|
v0.1.0-beta.8 | Introduced. |