Skip to content
Sign in
An image of the Stripe logo
/
Create account
Sign in
Home
Payments
Finance automation
Banking as a service
Developer tools
No-code
All products
Home
Payments
Finance automation
Home
Payments
Finance automation
Banking as a service
Developer tools
Overview
Building your integration
Developer tools
    Test mode
    Stripe Shell
      Get started
      Keyboard shortcuts
      Product tutorial
      Checkout tutorial
      Manage subscription tutorial
    Stripe CLI
    Dashboard
    Stripe for Visual Studio Code
    Webhooks
    File uploads
    Feedback
SDKs
API
Security
Sample projects
Videos
Stripe Apps
Stripe Connectors
Partners
HomeDeveloper toolsStripe Shell

Keyboard shortcuts in the Stripe Shell

Learn about the keyboard shortcuts available for the Stripe Shell.

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?
Need help? Contact Support.
Watch our developer tutorials.
Check out our product changelog.
Questions? Contact Sales.
Powered by Markdoc
You can unsubscribe at any time. Read our privacy policy.
On this page
Expand and minimize the command-line terminal
Use command-line completion
Copy and paste text
Navigate through command history
Move one character at a time
Jump to the beginning and end of the command prompt
Delete one word at a time in the command prompt
Delete one character at a time
Remove characters from the cursor to the end of the prompt
Clear the command prompt
Open a new terminal pane
Navigate between open terminal panes
Clear the terminal pane
Stripe Shell
Test mode
Welcome to the Stripe Shell! Stripe Shell is a browser-based shell with the Stripe CLI pre-installed. Log in to your Stripe account and press Control + Backtick (`) on your keyboard to start managing your Stripe resources in test mode. - View supported Stripe commands: - Find webhook events: - Listen for webhook events: - Call Stripe APIs: stripe [api resource] [operation] (e.g., )
The Stripe Shell is best experienced on desktop.
$