I’ve been using n8n locally for almost a year via npm. However, I need to assign an environment variable this time, and the documentation only suggests typing export <variable>=<value>
in the terminal. But when I execute this command, there’s no message displayed, and it seems to be unsuccessful.
Here’s the actual command I tried: export WORKFLOWS_DEFAULT_NAME=“Test”
. This variable works correctly on my cloud server.
I’ve tried several things so far, but none of them seem to work:
- Removing the quotes in the value didn’t return any message.
- Appending “n8n “ before “export” did return a message: “User settings being loaded from “/Users/kielnicx/.n8n/config””.
- Appending “n8n:” before “export” returned an error.
- Loading a JSON file
I understand that most successful installations and configurations are done using Docker, but I’d prefer to avoid using it for this particular task.
Here’s my system information:
- macOS Sequoia 15.2
- n8n version 1.69.2
- npm version 10.7
- Node version 20.15
- Database: SQLite (default)
My original plan is to disable N8N_SECURE_COOKIE so I can access it via local network from an iPad but apparently all of the browsers in iOS/iPadOS are using Safari engine. If you have solution for this part instead that would be great and I can ignore setting up env via npm.