GitHub Copilot CLI has two main modes: interactive and non-interactive. Interactive mode is the default chat-like session where you can ask follow-up questions and work collaboratively with Copilot. Non-interactive mode uses the `copilot -p` flag for quick, one-shot prompts without entering a full session — ideal for automation or fast lookups. You can also resume previous sessions using `/resume` in interactive mode or `copilot --resume` from the command line.
Table of contents
What is GitHub Copilot CLI interactive mode?What is GitHub Copilot CLI non-interactive mode?How to resume a previous Copilot sessionTags:Written bySort: