CLI    Prompt   Builder

 Loading…
← Back to Utilities

CLI    Prompt   Builder

Make yourself a snazzy new CLI prompt and be the envy of your fellow programmers!

Choose Template
Editor
Export
About

Choose a template. NOTE: This will DELETE and REPLACE anything you currently have in the editor!

Load template  

First time? It's recommended that you load a few templates and look at how they're made in the editor, just to get an idea of how things work.

Coming back? You can load your .cliprompt file in the Editor tab above (Project → Upload file). Or, you can start from scratch!

Quick usage help for first-time users
  • A format chip affects all text after it. For example, a "red text color" chip will make all text red until the text color changes or format is cleared.
  • If a chip is selected, new chips will be inserted before it. Otherwise, new chips will be inserted at the very end.
  • Hovering over almost any chip will tell you its exact configuration.
  • Use arrow keys (/) to select the previous/next chip, or use Ctrl + / to move a chip left/right.
  • Use Delete to delete a chip.
  • You can save your project as a file by clicking Project → Download file.
  • Your current project is automatically saved in your browser storage.
(click the above arrow to hide)
Only Bash PS1 and PowerShell are supported at the moment. (PowerShell export does not support all chips yet.)
  
 
Made with <3 by CerebralDatabank :)
Website (you're on it!) │ GitHub │ LinkedIn

Last updated 2024‒09‒18

Upcoming features (I'll remove the below items as I finish them):

Delete all chips?

This will DELETE all of your work and cannot be undone!

It is highly recommended to download a copy of your project if you haven't already. (Project → Download file)

String

A plain old string, simple as that.

Unicode

Any Unicode character. It's recommended you take advantage of all the icons in Powerline Extended, Box Drawing Characters, and Nerd Fonts!

U+ {} 

Quick select: 

Variation selector: 

Working Directory

This shows the current working directory of the terminal.

Separator: 

{~/Repos/my-project}

Git Status

This shows the status of the current git repo (__git_ps1 in Bash). This may not work on your system if your copy of git doesn't have the necessary script.

Exit Code Indicator

This shows a colored check or cross mark depending on the exit code of the previous command.

Indicator: 

NPC Sequence Delimiter

This delimits non-printable character sequences for Bash.

Separator: 

{~/Repos/my-project}

Time

“Time, Dr. Freeman? Is it really that time again? It seems as if you only just arrived.” — The G-Man, Half-Life 2 (2004)

Color

“Mere color, unspoiled by meaning, and unallied with definite form, can speak to the soul in a thousand different ways.” — Oscar Wilde, The Critic as Artist (1891)

Apply color to: 

Color type: 

␛[91m │ rgb(255 85 85)

Move Cursor

WARNING: This can cause issues with line-wrapping long commands in Bash.

Direction: 

Amount:  

Erase from Cursor

Remove characters from (clear a certain part of) the terminal screen.

WARNING: This can cause issues with line-wrapping long commands in Bash.

Erase 

Note that none of these options actually move the cursor itself; you must use a Move Cursor chip for that.

Download File

This is a project file that allows you to restore your project in this web app. To get the actual prompt string code you can use in your terminal, go to the Export section.

It is highly recommended to download this regularly to save your work.

File name: .cliprompt

Upload File

Restore a .cliprompt project file you previously downloaded.

This will DELETE and REPLACE anything you currently have in the editor!

File: