Fish includes suggestions, syntax highlighting and tab completion without a framework, according to its tutorial. Use it for interactive commands if those defaults appeal to you and learning another shell language is acceptable. Keep Bash available for scripts written for Bash. Our November 27, 2026 run recorded successful install and build steps, followed by a test command that exited 5 with collection warnings.
What people use fish-shell for
Users describe replacing an interactive shell, adding a preferred prompt and writing personal utilities in fish. These are separate choices: changing the program interpreting commands in your terminal does not require converting a project's scripts. The accounts below show concrete uses rather than a single migration recipe. They also distinguish fish's built-in interface from additions maintained through a plugin manager.
| Person and source | What they did | Practical use |
|---|---|---|
| Ahmet Almaz | Preferred fish's initial experience over his Zsh setup. | An interactive shell with common conveniences already configured. |
| Almaz's prompt setup | Used Fisher to install and maintain bobthefish. | Prompt customization beyond the default interface. |
| Dennis Hilk | Enabled fish and selected it for the nebu account through NixOS configuration. | A shell managed alongside the account's system configuration. |
| Lobsters commenter yorickpeterse | Wrote a small break reminder in fish. | Personal scripting, although the author generally prefers another language for it. |
Hilk's beginner guide distinguishes the terminal from the shell: Kitty or another terminal supplies the window, while fish interprets commands and launches programs inside it. A terminal theme and a fish prompt therefore belong to different configurations. His existing NixOS configuration selects fish for an account; the article's configuration exercises are newly written examples, rather than a published personal config.fish file.
What happened when we ran it
Our November 27 run recorded an install step that succeeded in 14 seconds. The build step succeeded in 1 second. Tests failed with exit 5 in 1 second. These are our sandbox measurements at commit 6dfd5f0, whose recorded ecosystem was Python. The install inventory contained 35 dependencies and occupied 39 MB; the checkout contained 2,248 files, about 116,888 source lines and 26.5 MB.
| Recorded step or observation | Result | What it tells you |
|---|---|---|
| Install | Succeeded in 14 seconds | The recorded install step completed. |
| Dependency inventory | 35 dependencies, 39 MB on disk | The harness recorded this inventory. |
| Build | Succeeded in 1 second | The recorded build step completed. |
| Tests | Failed with exit 5 in 1 second | The test command failed. |
| Checkout | 2,248 files, about 116,888 source lines, 26.5 MB | The scan describes this checkout. |
| Repository signals | 8 CI workflow files, a tests directory, no Dockerfile detected | These files and directories were present or absent in the scan. |
The failing log names TestSkip, TestFail and TestPass in tests/test_driver.py. Each produced a PytestCollectionWarning because it has an init constructor. The tail ends with three warnings in 0.14s. It contains no assertion failure or missing-system-package diagnosis. The recorded sandbox configuration was 3 CPUs, 8 GB RAM and image ghcr.io/astral-sh/uv:python3.12-bookworm. Fish's README describes Rust compilation, while the harness classified this checkout as Python.
A separate hands-on attempt used commit 6dfd5f07b648 on November 27, 2026, in a fresh unprivileged lab-rust:1 container with 2 CPUs, 4 GB RAM, no published ports and no secrets, according to its run record. Its quickstart-cli clone step took 2 seconds. The installation command was cargo install fish, which failed in 3 seconds with exit 101: the selected fish v0.0.3 package had no binaries.
The hands-on installation finding states that Cargo installs programs rather than libraries, and teardown completed successfully. The README's Cargo route instead clones fish-shell and installs from that directory with --locked --path .; it also describes optional Sphinx setup through uv. The failed package-name command and the successful harness install are distinct observations, with different environments and results.
Where people get stuck: Bash habits cross the boundary
Bash scripts can retain Bash as their interpreter while fish handles interactive commands. Hilk's beginner guide explains that a script beginning with #!/bin/bash still runs through Bash. Pasted Bash expressions are a different case: variable assignments and multiline control structures can follow different rules in fish. Changing the interpreter named at the top of a file does not translate its contents.
The fish FAQ documents wildcard and command-substitution differences. An unmatched unquoted wildcard can stop a remote-copy command before scp runs, so a pattern intended for the remote program needs quoting or escaping. Command substitution splits on newlines rather than spaces or tabs. Consequently, space-separated pkg-config flags need explicit splitting when each flag must become a separate argument.
| Habit or symptom | Documented response | Workflow consequence |
|---|---|---|
| sudo !! does not repeat the last command | Alt-S recalls the last command with a sudo prefix or toggles that prefix on the current line. | Use fish's editing and recall commands. |
| A remote wildcard fails locally | Quote or escape the wildcard intended for the receiving program. | Local expansion happens before the external command runs. |
| Compiler flags become one argument | Use explicit space splitting with string split -n " ". | Command-substitution rules affect the arguments a program receives. |
| An exported universal variable loses to an existing value | A global variable of the same name takes precedence. | Scope determines which value fish reads. |
The historical reporter in issue #288 received sudo: !!: command not found. Today's FAQ explains fish's preference for history searching and recall rather than built-in Bash history substitution. The issue's closed status is separate from that language choice. The FAQ also describes optional abbreviations for history substitution, so a requested spelling and the underlying ability to recall a command should be evaluated separately.
History and keyboard complaints need their original context
The release notes say history search forgetting commands re-run in concurrent sessions has been fixed, naming issue #10300. That report describes a concrete failure: one session recalled an old typo while another session showed the desired command. The reporter said history merge restored the affected session. The notes separately record a fix for history corruption with NUL bytes after SIGTERM or SIGHUP.
The reporter in issue #602 returned to Zsh because its Ctrl-R substring search suited their workflow better. The current FAQ documents Ctrl-R opening a searchable history pager, including Ctrl-R and Ctrl-S navigation within that pager. An old report about a missing interaction and today's documented interaction answer different questions; both are useful when someone repeats an older recommendation.
The reporter in issue #65 described missing vi mode as an adoption blocker. The versioned interactive documentation describes fish_vi_key_bindings. For keyboard troubleshooting, the release-note passages also describe physical-key bindings being selected instead of the layout's key and fish no longer requesting a protocol on Konsole. Those entries identify specific keyboard and terminal behavior without requiring a broader claim about every input method or macOS layout.
Private history and package paths have concrete behavior
The fish 3.3 interactive documentation says fish --private hides old history and prevents writing history to disk. It presents private mode as useful for screencasts and sensitive information. The release notes separately say private-mode in-memory history is no longer shared with the built-in read command. The same notes describe Git, Mercurial and Fossil prompt functions stripping control characters from version-control state read from disk.
The release notes say legacy completion and function directories have been ignored since fish 4.2. They name $CMAKE_INSTALL_PREFIX/share/fish/completions and $CMAKE_INSTALL_PREFIX/share/fish/functions, and direct other packages toward configured extra_completionsdir, extra_functionsdir and extra_confdir locations. A completion function installed into an ignored directory presents a packaging problem before its contents become relevant. The notes also show a pkgconf query for discovering configured paths.
The latest release recorded for this review was 4.9.3, published September 8, 2026. The README distinguishes Cargo and CMake installations: Cargo places standalone binaries in ~/.cargo/bin/, while the full CMake installation adds standard man-page locations, separate builtin documentation and a local HTML documentation copy. These installation differences explain why the executable's presence and the surrounding documentation layout are separate things to inspect.
fish-shell vs Bash, Zsh, Dash and sh
Fish's documented suggestions, highlighting and completion suit readers choosing an interactive interface; Bash and Zsh have their own language and configuration reasons to retain them. The comparison below separates those decisions from shared automation. A personal shell preference does not determine which interpreter a project should require, and a familiar shell configuration can be a practical reason to keep an existing setup.
| Choice | Reason to choose it | Evidence |
|---|---|---|
| fish | You want built-in suggestions, highlighting and completion. | The fish tutorial documents these features. |
| Zsh | Your existing configuration fits your work, or you want its editing and programmable completion. | The Zsh introduction documents those capabilities. |
| Bash | Your scripts and snippets use Bash syntax. | GNU describes Bash as a command-language interpreter largely compatible with sh. |
| Dash or sh | You are choosing a scripting target around interpreter availability. | Lobsters commenters discuss Dash and deployment environments. |
| Python | You prefer another language for larger personal scripts. | Lobsters commenter dkl describes moving to Python beyond a few dozen straightforward Bash lines. |
Bash is largely compatible with sh. Zsh does not provide POSIX compatibility in its default operating mode. These statements come from the GNU Bash manual and Zsh introduction, respectively. Zsh's resemblance to other shells therefore does not make its default mode a portable-script guarantee. Keeping Bash scripts, keeping a Zsh configuration and selecting a portable sh target are three distinct decisions.
The Lobsters scripting discussion supplies the team-level distinction: carlana uses fish personally but avoids requiring it for work projects because another interpreter adds installation friction. Other participants describe personal fish utilities and preferences for Python as scripts grow. Their accounts help frame the dependency decision. They are reasons stated by particular users, rather than comparative performance results or a production-adoption ranking.
What the other reviews and older docs get wrong
Ahmet Almaz's no-dependencies claim conflicts with the README's runtime and optional-feature requirements. Fish requires common system utilities; browser configuration requires Python 3.5+ and a browser, and clipboard integration requires platform utilities. Almaz also describes using Fisher to maintain bobthefish. Built-in interactive features and a customized installation with additional components can coexist.
The FOSS Linux guide's claim that existing Bash scripts will not run confuses execution through Bash with interpretation by fish. Hilk's interpreter explanation distinguishes those cases. The guide's directory-only prompt description also differs from the current tutorial's username, hostname and working directory. For Tab completion, the interactive documentation says one possibility is inserted and multiple possibilities open the pager, rather than prescribing a universal two-press sequence.
The fish 2.2 tutorial says command substitutions are not expanded within quotes; the current FAQ supports $() inside quotes. The older caret instruction for stderr also differs from the current tutorial's 2> example. Finally, the current-introduction excerpt identifies the documentation without asserting 4.7.1 as its version; the release record names 4.9.3. A versioned tutorial should be read as instructions for that version, and an unversioned URL alone does not establish a release number.
FAQ
Fish can run as your everyday interactive shell while Bash remains the interpreter for Bash scripts. Hilk's beginner guide explains this distinction, including the difference between executing a script with a Bash shebang and pasting Bash syntax into fish. The questions below address installation, configuration and interpreter choice without treating those operations as a single migration step.
Can fish replace Bash as my everyday shell while keeping Bash available?
Yes: a script beginning with #!/bin/bash still runs through Bash, as Hilk explains. Fish interprets commands entered into its own session, including pasted expressions. Keep the script's intended interpreter and translate interactive configuration separately. That division lets you choose fish's suggestions and completion without changing the language used by existing Bash files.
How do I install and configure fish, and what completion features are built in?
The README recommends packaged builds and says to start fish from your current shell after installation. Its macOS routes include Homebrew and MacPorts, and it links Linux distribution packages. The tutorial documents built-in suggestions, syntax highlighting and tab completion. Optional browser configuration uses fish_config and requires Python 3.5+ together with a web browser.
Do I need plugins or a framework to get fish's main interactive features?
No: the tutorial documents suggestions, highlighting and tab completion as built-in features. A preferred prompt can add a separate maintenance choice: Almaz used Fisher for bobthefish. The README also lists host utilities for optional features such as clipboard integration. Decide which additions you want after distinguishing them from the shell's starting interface.
Can I use fish on Windows?
Yes: the README documents WSL on Windows 10 and 11, plus Cygwin and MSYS2. For WSL it points to the appropriate Linux distribution's installation instructions or the source route. These are separate installation environments, so the relevant package instructions depend on the route selected. The README's Windows section names those environments explicitly rather than describing one universal Windows installation command.
How do I make fish my default shell?
The official introduction describes configuring the terminal to start fish directly, using the executable's installed path. It also documents adding fish to /etc/shells and changing the account's login shell with chsh. Some systems require a Bourne-compatible login shell to read /etc/profile, and the introduction warns of an incorrect PATH after a login-shell change. Terminal startup and account login initialization therefore deserve separate configuration decisions.
What we have not tested yet
Our harness recorded steps at 6dfd5f0; it did not evaluate a daily-shell migration or establish that a native fish executable ran. The test tail supplies neither a complete collected-test count nor actual runtime versions or source-build commands. The container image name establishes neither the runtime nor operating-system version. The separate Cargo attempt stopped at installation, so its error supplies no working-shell result and does not replace the harness timings.
Package installation, login initialization, clipboard integration, private-mode behavior and terminal input were not exercised on target machines. The keyboard extracts do not support complete mappings from physical-key, input-method, macOS, completion or Konsole changes to releases 4.9.0 through 4.9.3. Private-mode documentation describes fish history rather than other programs' logging. Rendered layout, resolved evidence links, automatic related links, recommendation modules and template behavior were not tested in this correction.
The closed Raspberry Pi arithmetic report in issue #3157 and character-width report in issue #2652 do not demonstrate present-day outcomes for those exact setups. No comparative latency benchmark, large-history stress test, vulnerability assessment, support-response measurement or production-project adoption list accompanies our run. YouTube records contain no usable transcript; Bilibili search titles are not demonstrated outcomes. Use fish for its documented interactive defaults if its language fits your work; retain your existing shell when unchanged Bash expressions or Bourne-compatible login initialization are requirements.


