Forrest logo
tool overview
On this page you find all important commands for the CLI tool fish. If the command you are looking for is missing please ask our AI.

fish

Fish, short for Friendly Interactive SHell, is a command line shell for Unix-like operating systems. It is known for its user-friendly and interactive features.

  1. Fish has a unique syntax highlighting feature that helps users distinguish different types of commands, variables, and files based on color.
  2. It offers auto-suggestions as users type, giving helpful guidance and completing commands or paths based on their history or common usage patterns.
  3. The shell supports powerful tab completions, allowing users to quickly navigate and select options or paths from a suggested list.
  4. Fish has a simplified scripting language that emphasizes readability and ease of use, making it a great choice for beginners or those who prefer a more straightforward syntax.
  5. It supports various customization options, enabling users to personalize their prompt, colors, keybindings, and more.
  6. Fish has a comprehensive built-in help system, providing detailed explanations of commands and their usages.
  7. It supports powerful scripting capabilities, with features like functions, variables, conditionals, and loops to automate tasks or create custom command sequences.
  8. Fish has extensive internationalization support, with translations available in several languages, making it accessible to users globally.
  9. The shell focuses on performance optimization, providing fast startup times and efficient resource usage, which helps enhance the overall user experience.
  10. Fish has an active and friendly community of users and developers, ensuring continuous improvements, bug fixes, and rich documentation that helps users effectively utilize its features.

List of commands for fish:

  • fish:tldr:07150 fish: Start an interactive shell session without loading startup configs.
    $ fish --no-config
    try on your machine
    explain this command
  • fish:tldr:0fa00 fish: Start an interactive shell session in private mode, where the shell does not access old history or save new history.
    $ fish --private
    try on your machine
    explain this command
  • fish:tldr:10281 fish: Execute specific commands.
    $ fish --command "${echo 'fish is executed'}"
    try on your machine
    explain this command
  • fish:tldr:7d1e2 fish: Execute a specific script.
    $ fish ${path-to-script-fish}
    try on your machine
    explain this command
  • fish:tldr:83e4a fish: Start an interactive shell session.
    $ fish
    try on your machine
    explain this command
  • fish:tldr:89e7c fish: Check a specific script for syntax errors.
    $ fish --no-execute ${path-to-script-fish}
    try on your machine
    explain this command
tool overview