For Fedora Rawhide run the following as root:
dnf config-manager --add-repo https://download.opensuse.org/repositories/devel:tools:ide:vscode/Fedora_Rawhide/devel:tools:ide:vscode.repo
dnf install nodejs-electron
For Fedora 41 run the following as root:
dnf config-manager --add-repo https://download.opensuse.org/repositories/devel:tools:ide:vscode/Fedora_41/devel:tools:ide:vscode.repo
dnf install nodejs-electron
For Fedora 40 run the following as root:
dnf config-manager --add-repo https://download.opensuse.org/repositories/devel:tools:ide:vscode/Fedora_40/devel:tools:ide:vscode.repo
dnf install nodejs-electron