About This Page
This page is part of the Azure documentation. It contains code examples and configuration instructions for working with Azure services.
Bias Analysis
Bias Types:
⚠️
windows_first
⚠️
windows_tools
⚠️
powershell_heavy
⚠️
missing_linux_example
Summary:
The documentation demonstrates a mild Windows bias. Windows instructions and tools (such as IISNode, web.config, and PowerShell) are often mentioned first or exclusively, with some features (like web.config troubleshooting and PowerShell instrumentation) described only for Windows. Linux-specific instructions are present but sometimes less detailed or appear after Windows content. Some advanced configuration and troubleshooting scenarios are more thoroughly covered for Windows users.
Recommendations:
- Ensure Linux and Windows instructions/examples are presented with equal prominence, or alternate which platform appears first in each section.
- Where a Windows tool (e.g., web.config, IISNode, PowerShell) is mentioned, provide the Linux equivalent or explicitly state if not applicable.
- Expand Linux troubleshooting and configuration sections to match the depth of Windows coverage (e.g., provide more details on Linux-specific errors or configuration files).
- For instrumentation and monitoring (e.g., Application Insights), provide Linux CLI or Bash examples alongside PowerShell instructions.
- Audit all sections for parity—ensure that every Windows-specific example or note has a Linux counterpart, or clearly indicate platform limitations.
- Consider adding a summary table at the top that links directly to both Windows and Linux instructions for each major task.
Create pull request
Flagged Code Snippets
### Run with npm start
To start your app using `npm start`, just make sure a `start` script is in the *package.json* file. For example:
::: zone-end
## Set Node.js version
::: zone pivot="platform-windows"
To set your app to a [supported Node.js version](#show-nodejs-version), run the following command in the [Cloud Shell](https://shell.azure.com) to set `WEBSITE_NODE_DEFAULT_VERSION` to a supported version:
This section ends with running `npm install --production`. Add the code section you need to run the required tool *at the end* of the `Deployment` section:
- [Bower](#bower)
- [Gulp](#gulp)
- [Grunt](#grunt)
See an [example in the MEAN.js sample](https://github.com/Azure-Samples/meanjs/blob/master/deploy.sh#L112-L135), where the deployment script also runs a custom `npm install` command.
### Bower
This snippet runs `bower install`.