File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -65,8 +65,8 @@ main() {
6565 echo " USE AT YOUR OWN RISK!"
6666 fi
6767
68- if [ " $major_node_version " -ne " ${FORCE_NODE_VERSION:- 22 } " ]; then
69- echo " ERROR: code-server currently requires node v22 ."
68+ if [ " $major_node_version " -ne " ${FORCE_NODE_VERSION:- 24 } " ]; then
69+ echo " ERROR: code-server currently requires node v24 ."
7070 if [ -n " $FORCE_NODE_VERSION " ]; then
7171 echo " However, you have overrided the version check to use v$FORCE_NODE_VERSION ."
7272 fi
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ The prerequisites for contributing to code-server are almost the same as those
3131for [ VS Code] ( https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites ) .
3232Here is what is needed:
3333
34- - ` node ` v22 .x
34+ - ` node ` v24 .x
3535- ` git ` v2.x or greater
3636- [ ` git-lfs ` ] ( https://git-lfs.github.com )
3737- [ ` npm ` ] ( https://www.npmjs.com/ )
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
1111```
1212
13136 . Exit the terminal using ` exit ` and then reopen the terminal
14- 7 . Install and use Node.js 22 :
14+ 7 . Install and use Node.js 24 :
1515
1616``` shell
17- nvm install 22
18- nvm use 22
17+ nvm install 24
18+ nvm use 24
1919```
2020
21218 . Install code-server globally on device with: ` npm install --global code-server `
Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ includes installing instructions based on your operating system.
2929
3030## Node.js version
3131
32- We use the same major version of Node.js shipped with Code's remote, which is
33- currently ` 22.x ` . VS Code also [ lists Node.js
32+ We use Node.js ` 24.x ` . VS Code also [ lists Node.js
3433requirements] ( https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites ) .
3534
3635Using other versions of Node.js [ may lead to unexpected
@@ -78,7 +77,7 @@ Proceed to [installing](#installing)
7877## FreeBSD
7978
8079``` sh
81- pkg install -y git python npm-node22 pkgconf
80+ pkg install -y git python npm-node24 pkgconf
8281pkg install -y libinotify
8382```
8483
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ npm config set python python3
5757node -v
5858```
5959
60- you will get Node version ` v22 `
60+ you will get Node version ` v24 `
6161
62625 . Now install code-server following our guide on [ installing with npm] ( ./npm.md )
6363
You can’t perform that action at this time.
0 commit comments