Skip to content
Create account
or
Sign in
The Stripe Docs logo
/
Ask AI
Create account
Sign in
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Developer tools
Get started
Payments
Finance automation
Get started
Payments
Finance automation
Platforms and marketplaces
Money management
Overview
Versioning
Changelog
Upgrade your API version
Upgrade your SDK version
Developer tools
SDKs
API
Testing
Workbench
Event Destinations
Workflows
Stripe CLI
Stripe Shell
    Overview
    Get started
    Keyboard shortcuts
Developers Dashboard
Agent toolkit
Stripe health alertsBuilding with LLMsStripe for Visual Studio CodeFile uploads
Security
Security
Extend Stripe
Stripe Apps
Stripe Connectors
Partners
Partner ecosystem
Partner certification
HomeDeveloper toolsStripe Shell

Keyboard shortcuts in the Stripe Shell

Learn about the keyboard shortcuts available for the Stripe Shell.

Copy page

This page describes the keyboard shortcuts available for the Stripe Shell.

Expand and minimize the command-line terminal

To open or minimize the command-line terminal:

  • Press the Control + Backtick (on Windows, Linux, and macOS) keys on your keyboard.

Use command-line completion

To use command-line completion, start typing stripe and press the spacebar key:

  • To navigate to the next suggestion, start typing a command and press the Tab (on Windows, Linux, and macOS) key on your keyboard.
  • To navigate to the previous suggestion, start typing a command and press the Shift + Tab (on Windows, Linux, and macOS) key on your keyboard.
  • Press the Enter (on Windows, Linux, and macOS) key on your keyboard to fill the command prompt with the selected command.

Note

In addition to using the keyboard, you can also click command suggestions with your mouse.

Copy and paste text

To copy and paste text at your cursor location:

  • To copy some text, select the text in the terminal display using your mouse and press Control + C (on Windows or Linux) or Command + C (on macOS) on your keyboard.
  • To paste some text, press Control + V (on Windows or Linux) or Command + V (on macOS) on your keyboard.

Note

In addition to using the keyboard, you can also copy a Stripe resource identifier (for example, prod_87dMmhDYE67) directly by clicking the copy icon.

Navigate through command history

To navigate through the command prompt history and fill the command prompt with the selected command:

  • To navigate to the previous command, use the Up Arrow (on Windows, Linux, or macOS) arrow key on your keyboard.
  • To navigate to the next command, use the Down Arrow (on Windows, Linux, or macOS) arrow key on your keyboard.
  • Press the Enter key on your keyboard to run the selected command.

Move one character at a time

To move the cursor position left or right by one character:

  • To shift the cursor to the left, either press Left Arrow or Control + B (on Windows, Linux, or macOS) keys on your keyboard.
  • To shift the cursor to the right, either press Right Arrow or Control + F (on Windows, Linux, or macOS) keys on your keyboard.

Jump to the beginning and end of the command prompt

To move the cursor to the beginning or end of the command prompt:

  • To jump to the beginning of the command prompt, press the Control + Left Arrow (on Windows or Linux) or Command + Left Arrow keys (on macOS) on your keyboard and insert some text at the cursor.
  • To jump to the end of the command prompt, press the Control + Right Arrow (on Windows or Linux) or Command + Right Arrow (on macOS) keys on your keyboard and insert some text at the cursor.

Delete one word at a time in the command prompt

To delete a word that precedes the cursor in the command prompt:

  • Press the Control + W (on Windows, Linux, or macOS) keys on your keyboard.

Delete one character at a time

To delete one character at a time in either direction:

  • To delete the character at the cursor, press the Control + D (on Windows, Linux, or macOS) keys on your keyboard.
  • To delete one character before the cursor, press the Backspace (on Windows, Linux, or macOS) key on your keyboard.

Remove characters from the cursor to the end of the prompt

To trim the text at the cursor prompt to the end of the cursor prompt:

  • Press the Control + K (on Windows, Linux, or macOS) keys on your keyboard.

Clear the command prompt

To clear the command prompt:

  • Press the Control + U (on Windows, Linux, or macOS) keys on your keyboard. This resets the cursor to the beginning of the command prompt.

Open a new terminal pane

To open a new pane in the command-line terminal:

  • Press the Alt + Shift + D (on Windows, Linux) or Command + D (on macOS) keys on your keyboard.

Note

In addition to using the keyboard, you can also click the New pane icon in the top-right corner of the terminal window.

Navigate between open terminal panes

To navigate to the left or right open terminal panes:

  • To navigate to the left pane, press Control + [ (on Windows or Linux) or Command + [ (on macOS) on your keyboard.
  • To navigate to the right pane, press Control + ] (on Windows or Linux) or Command +] (on macOS) on your keyboard.

Note

In addition to using the keyboard, you can simply click a pane directly.

Clear the terminal pane

To empty the terminal pane and clear all previously-run commands and their responses:

  • Press the Control + L (on Windows or Linux) or Command + K (on macOS) keys on your keyboard.

Note

In addition to using the keyboard, you can simply type clear.

Was this page helpful?
YesNo
Need help? Contact Support.
Join our early access program.
Check out our changelog.
Questions? Contact Sales.
LLM? Read llms.txt.
Powered by Markdoc