Amazon Q inline on the command line
Amazon Q for command line provides AI-generated completions as you type in the command line.

Using Amazon Q inline
To use Amazon Q for command line
-
Open your terminal or command prompt.
-
Start typing your command, and Amazon Q will make suggestions based on your current input and previous commands. To accept a suggestion, press the right arrow key. The suggestion will be inserted into your shell. Otherwise, you can continue to type the full command you want to use.
To disable the inline feature for new terminal sessions, use the following command:
q inline disable
This command will only affects new terminal sessions, and the inline feature remains enabled in any existing terminal windows.
Amazon Q inline limitations
Inline is only supported in zsh on macOS and on Linux with the SSH integration. The inline feature is known to conflict with some popular shell extensions, including zsh-autosuggestions. If you have zsh-autosuggestions installed, you must disable it to use Amazon Q inline in the command line.