Skip to content

Update configuration-methods.md #3149

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Aug 13, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion docs/hosting/configuration/configuration-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,26 @@ You can change n8n's settings using environment variables. For a full list of av

### npm

For npm, set your desired environment variables in terminal using the `export` command as shown below:
For npm, set your desired environment variables in terminal. The command depends on your command line.

Bash CLIs:

```bash
export <variable>=<value>
```

In cmd.exe:

```bash
set <variable>=<value>
```

In PowerShell:

```powershell
$env:<variable>=<value>
```

### Docker

In Docker you can use the `-e` flag from the command line:
Expand Down