Skip to content

Commit 18c251c

Browse files
authored
Merge pull request #120517 from MadhuraBharadwaj-MSFT/patch-6
Update functions-reference-node.md
2 parents 2632b70 + 9a7d553 commit 18c251c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-functions/functions-reference-node.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1617,11 +1617,11 @@ Before upgrading your Node.js version, make sure your function app is running on
16171617
Run the Azure CLI [`az functionapp config appsettings set`](/cli/azure/functionapp/config#az-functionapp-config-appsettings-set) command to update the Node.js version for your function app running on Windows:
16181618
16191619
```azurecli-interactive
1620-
az functionapp config appsettings set --settings WEBSITE_NODE_DEFAULT_VERSION=~18 \
1620+
az functionapp config appsettings set --settings WEBSITE_NODE_DEFAULT_VERSION=~20 \
16211621
--name <FUNCTION_APP_NAME> --resource-group <RESOURCE_GROUP_NAME>
16221622
```
16231623
1624-
This sets the [`WEBSITE_NODE_DEFAULT_VERSION` application setting](./functions-app-settings.md#website_node_default_version) the supported LTS version of `~18`.
1624+
This sets the [`WEBSITE_NODE_DEFAULT_VERSION` application setting](./functions-app-settings.md#website_node_default_version) the supported LTS version of `~20`.
16251625
16261626
# [Azure portal](#tab/azure-portal/windows)
16271627
@@ -1634,11 +1634,11 @@ Use the following steps to change the Node.js version:
16341634
Run the Azure CLI [`az functionapp config set`](/cli/azure/functionapp/config#az-functionapp-config-set) command to update the Node.js version for your function app running on Linux:
16351635
16361636
```azurecli-interactive
1637-
az functionapp config set --linux-fx-version "node|18" --name "<FUNCTION_APP_NAME>" \
1637+
az functionapp config set --linux-fx-version "node|20" --name "<FUNCTION_APP_NAME>" \
16381638
--resource-group "<RESOURCE_GROUP_NAME>"
16391639
```
16401640
1641-
This sets the base image of the Linux function app to Node.js version 18.
1641+
This sets the base image of the Linux function app to Node.js version 20.
16421642
16431643
# [Azure portal](#tab/azure-portal/linux)
16441644

0 commit comments

Comments
 (0)