diff --git a/docs/docs/Develop/environment-variables.mdx b/docs/docs/Develop/environment-variables.mdx index f996c6c15ac7..34cd4e6f783e 100644 --- a/docs/docs/Develop/environment-variables.mdx +++ b/docs/docs/Develop/environment-variables.mdx @@ -352,9 +352,9 @@ To make environment variables available to GUI apps on macOS, you need to use `l /bin/sh -c - launchctl setenv LANGFLOW_CONFIG_DIR /Users/your_user/custom/config && - launchctl setenv LANGFLOW_PORT 7860 && - launchctl setenv LANGFLOW_HOST localhost && + launchctl setenv LANGFLOW_CONFIG_DIR /Users/your_user/custom/config ; + launchctl setenv LANGFLOW_PORT 7860 ; + launchctl setenv LANGFLOW_HOST localhost ; launchctl setenv ARIZE_API_KEY ak-... @@ -366,7 +366,7 @@ To make environment variables available to GUI apps on macOS, you need to use `l 4. Load the file with `launchctl`: ```bash - launchctl load ~/Library/LaunchAgents/dev.langflow.env.plist + launchctl bootstrap gui/$(id -u) ~/Library/LaunchAgents/dev.langflow.env.plist ```