Skip to content

Commit d9a9225

Browse files
authored
Sail: Update Node versions (#9103)
* Update default node version after laravel/sail#628 * Bump example of alternate Node version
1 parent 050225f commit d9a9225

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sail.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -402,13 +402,13 @@ sail up
402402
<a name="sail-node-versions"></a>
403403
## Node Versions
404404

405-
Sail installs Node 18 by default. To change the Node version that is installed when building your images, you may update the `build.args` definition of the `laravel.test` service in your application's `docker-compose.yml` file:
405+
Sail installs Node 20 by default. To change the Node version that is installed when building your images, you may update the `build.args` definition of the `laravel.test` service in your application's `docker-compose.yml` file:
406406

407407
```yaml
408408
build:
409409
args:
410410
WWWGROUP: '${WWWGROUP}'
411-
NODE_VERSION: '14'
411+
NODE_VERSION: '18'
412412
```
413413

414414
After updating your application's `docker-compose.yml` file, you should rebuild your container images:

0 commit comments

Comments
 (0)