Make yourself a snazzy new CLI prompt and be the envy of your fellow programmers! 2024 Contest!
Choose Template
Editor
Export
About
Choose a template. NOTE: This will DELETE and REPLACE anything you currently have in the editor!
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!
Official Templates
Community Gallery
Very Simple (no colors)
A very simple template. Hopefully you're here to make something fancier than this 😉
Ubuntu default style
The default style in Ubuntu's terminal.
Curved Arrow
A template with a curved arrow design — no Powerline or Nerd Fonts required.
Simple Powerline
A simple Powerline template.
Chips
A template made of round "chips".
"Hey there!"
An example of how to recreate this editor's introduction preview message.
Complex Powerline
A complex Powerline template with segments of multiple colors.
More Complex Powerline
An even more complex Powerline template with different-colored segments, right-aligned time, and exit code. (This most closely resembles my current terminal prompt!)
Colors Example
Several examples of colored text, for tutorial purposes.
Rainbow Stripe
A rainbow stripe Powerline template. Demonstrates multi-colored striping.
Flamethrower
A flamethrower template — 'nuff said. Demonstrates two-color striping (caution strip) and multi-color striping (flame).
Flamethrower II
Alternative design of Flamethrower that uses the character to create a 3D effect.
The Logo
The CLI Prompt Builder logo recreated in CLI Prompt Builder!
Your own prompt!
Achieve fame™ by submitting your prompt and having it featured here!
2 hidden submissions All submissions will be shown when the contest ends!
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 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.
Need help? Ask me on Discord!
(click the above arrow to hide)
Only Bash PS1 and PowerShell are supported at the moment. (PowerShell export does not support all chips yet.)
Scroll down for instructions.
Export as:
Other actions:
(No export yet, choose an export option above!)
Export Instructions
Nerd Fonts
The vast majority of prompts will require Nerd Fonts. Nerd Fonts is a project that takes existing fonts and patches them to add over 10,000 icons from various icon packs.
Download a Nerd Font from this page. If you have an existing monospace font you use in your terminal, press Ctrl + F and search for a patched version of it on the page (or any other font you like). The Builder uses a version of JetBrains Mono Nerd Font.
Search online for instructions to install the font and set your terminal to use it. For example, on VS Code on Windows, right-click the downloaded font and click Install. Then, change the integrated terminal font in VS Code's settings to the font name.
If you need any assistance, feel free to ask me in the Discord!
Setting your CLI Prompt
(No export yet, choose an export option above!)
For Bash (including in WSL):
Open a terminal.
Paste in the export result. This sets your prompt temporarily so you can make sure it displays properly.
Run nano ~/.bashrc.
Scroll down to the end of the file.
Paste in the export result.
Press Ctrl + S, then Ctrl + X to save and exit.
Open a new terminal and your new CLI prompt should show up!
For Zsh (including in macOS):
Open a terminal.
Paste in the export result. This sets your prompt temporarily so you can make sure it displays properly.
Run nano ~/.zshrc.
At the top of the file, ensure any lines containing prompt or promptinit are commented out by typing a # character at the beginning of each of those line(s).
Scroll down to the end of the file.
Paste in the export result.
Press Ctrl + S, then Ctrl + X to save and exit.
Open a new terminal and your new CLI prompt should show up!
For PowerShell:
Open a terminal as administrator.
Paste in the export result. This sets your prompt temporarily so you can make sure it displays properly.
Run Set-ExecutionPolicy RemoteSigned.
Run New-Item -ItemType File -Path $PROFILE -Force. If it fails saying it already exists, that's fine.
Run notepad $PROFILE. If you are not on Windows, run Write-Output $PROFILE, find that file in your file manager, and edit it.
Scroll down to the end of the file if it isn't empty.
Paste in the export result.
Press Ctrl + S to save, then close Notepad (or the editor that you used).
Open a new terminal and your new CLI prompt should show up!
For Windows Command Prompt:
Open the Start menu.
Start typing "edit envir" and click on the "Edit environment variables for your account" result.
In the "User variables for <your_username>" section, click the "New…" button.
In the "Variable name" field, type PROMPT.
In the "Variable value" field, paste in the export result. (This will include missing character boxes; this is normal.)
Click "OK" on both windows to close them.
Open a new terminal and your new CLI prompt should show up!
For C/C++ String:
Copy the export result and use it in a cout << "..." or printf("..."); statement. You can also use this with some other languages, like JavaScript (console.log("...");) and Python (print("...");).