Skip to content

Commit db5f7d2

Browse files
docs: unify Node version (#260)
code examples and docs had different Node versions
1 parent 8bac3c9 commit db5f7d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/en/development/intro.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ stdenv.mkDerivation ({
108108
and other parameters are customizable, and `shellHook` is a special parameter that will be
109109
executed when `nix develop` enters the environment.
110110

111-
Here is a `flake.nix` that defines a development environment with Node.js 18 installed:
111+
Here is a `flake.nix` that defines a development environment with Node.js 24 installed:
112112

113113
```nix
114114
{
@@ -234,7 +234,7 @@ Example:
234234

235235
Then execute `nix run .#dev` or `nix shell .#dev --command 'dev-shell'`, you will enter a
236236
nushell session, where you can use the `node` `pnpm` command normally, and the node
237-
version is 20.
237+
version is 22.
238238

239239
The wrapper generated in this way is an executable file, which does not actually depend on
240240
the `nix run` or `nix shell` command.

0 commit comments

Comments
 (0)