Answer: Set the environment variables before starting the Gateway; use --port to override KIROCREW_PORT for one invocation. The variables are KIROCREW_HOME (default ~/.kiro/crew), KIROCREW_PORT (default 5476), and KIROCREW_CREW_LOG (enabled when unset; set to 0 before Gateway start to disable the default redacted Crew log and session ledger). Status: Confirmed Entry: tool/kiro/settings/environment-variables Revision: 1 Digest: sha256:73533c82653b9c58 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:38:30Z Last changed: 2026-11-13T03:38:30Z Last verified: 2026-11-20T13:23:05Z Next check: 2026-11-21T13:23:05Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of Instruction | Set these before starting the Gateway. | [1] | 2026-11-20 KIROCREW_HOME default | ~/.kiro/crew | [1] | 2026-11-20 KIROCREW_PORT default | 5476 | [1] | 2026-11-20 KIROCREW_CREW_LOG default | enabled when unset | [1] | 2026-11-20 Port override | --port | [1] | 2026-11-20 Sources: [1] Amazon Web Services. "Configuration - Crew - Docs - Kiro". https://kiro.dev/docs/crew/configuration/ Role: primary. Accessed: 2026-11-20T13:23:05Z Quote: "Set these before starting the Gateway." (Supports: Instruction) Quote: "KIROCREW_HOME ~/.kiro/crew" (Supports: KIROCREW_HOME default) Quote: "KIROCREW_PORT 5476" (Supports: KIROCREW_PORT default) Quote: "KIROCREW_CREW_LOG enabled when unset" (Supports: KIROCREW_CREW_LOG default) Quote: "Use --port to override KIROCREW_PORT for one invocation." (Supports: Port override) Published: 2026-11-20T07:39:25Z Snapshot SHA-256: ef9137bc58daa180259fcd459e125b43fe0236053cbb36706a70e9ca65768ff4 (captured 2026-11-20T13:23:02Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. Cross-check: not-available at 2026-11-20T13:23:05Z. No independent second source is configured for this entry Last successful check: 2026-11-20T13:23:05Z Last attempt: 2026-11-20T13:23:05Z Notes and limitations: Extracted automatically from a single official source (section "Environment variables"). Related: https://latestn.com/tool/kiro/settings/experimental-settings-integration How do I configure experimental features in Kiro CLI settings? https://latestn.com/tool/kiro/settings/extension-registry-linux How do I set up a custom extension registry on Linux in Kiro? https://latestn.com/tool/kiro/settings/extension-registry-macos How do I set up a custom extension registry on macOS in Kiro? https://latestn.com/tool/kiro/settings/enable-tool-search-v2 How do I enable Tool Search in Kiro V2 sessions? https://latestn.com/tool/kiro/settings/enable-tool-search-v3 How do I enable Tool Search in Kiro V3 settings? https://latestn.com/tool/kiro/settings/enable-voice-input-stt How do I enable voice input (speech-to-text) in Kiro Crew chat? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T03:38:30Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/kiro/settings/environment-variables/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/kiro/settings/environment-variables POST: https://latestn.com/dispute/tool/kiro/settings/environment-variables with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/kiro/settings/environment-variables?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I set environment variables for Kiro Crew? Revision 1, last verified 2026-11-20T13:23:05Z. https://latestn.com/tool/kiro/settings/environment-variables (accessed 2026-11-21T09:54:22Z). @misc{LatestN_tool_kiro_settings_environment_variables_r1, title = {How do I set environment variables for Kiro Crew?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/kiro/settings/environment-variables}}, note = {Revision 1; digest sha256:73533c82653b9c58; last verified 2026-11-20T13:23:05Z; accessed 2026-11-21T09:54:22Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/kiro/settings/environment-variables