How to configure 3rd party prompts

    site (opens new window)

    site (opens new window)

    If you like , you can use oh-my-posh with Nushell with a few steps. It works great with Nushell. How to setup oh-my-posh with Nushell:

    1. Install Oh My Posh and download oh-my-posh’s themes following guide (opens new window).
    2. Download and install a .
    3. Set the PROMPT_COMMAND in ~/.config/nushell/config.nu(or the path output by ), change to whatever you like Themes demo (opens new window).

    For MacOS users:

    1. Download and install a .
    2. Set the PROMPT_COMMAND in the file output by , here is a code snippet:

    site (opens new window)

    1. Follow the links above and install Starship.
    2. Use the config example below. Make sure to set the environment variable.

    Here’s an example config section for Starship:

    Now restart Nu.

    You can learn more about configuring Starship in the .

    repo (opens new window)