Link Search Menu Expand Document


The Friendly Interactive SHell, a command-line interpreter designed to be user friendly. More information:

  • Start an interactive shell session:


  • Execute a command and then exit:

fish -c "{{command}}"

  • Execute a script:

fish {{path/to/}}

  • Check a script for syntax errors:

fish --no-execute {{path/to/}}

  • Start an interactive shell session in private mode, where the shell does not access old history or save new history:

fish --private

  • Display version information and exit:

fish --version

  • Set and export environmental variables that persist across shell restarts (from within the shell only):

set -Ux {{variable_name}} {{variable_value}}