Self-hosted service
fishros/install avatar
fishros/install

fishros/install: a one-line installer for ROS, Docker and other Linux tooling

A one-click installer script; contributions welcome -- install everything in one click and stop wasting your life.

3,286 stars292 forksPythonLicense varies

At a glance

What is it?
fishros/install is a Python menu-driven installer focused on ROS and ROS 2 setups on Ubuntu, Raspberry Pi and Jetson boards. It is convenient for the tools it ships, but the README does not document rollback or uninstall.
Who is it for?
Adopt fishros/install if you are setting up ROS or ROS 2 on a fresh Ubuntu, Raspberry Pi or Jetson machine and want the source swap, rosdep and environment steps handled in one menu. Do not adopt it for unattended production images without first generating and pinning a fish_install.yaml, because the interactive prompts are the only documented input path.
Can I use it commercially?
Not without permission. GitHub finds no licence file in the repository, and without a licence all rights are reserved by default: you may read the code but not reuse it. Check the README, or ask the authors, before using it.
Is it still maintained?
Yes. The repository last received commits 20 days ago.
What is it written in?
Mainly Python, according to GitHub's language statistics.

Answers come from the project's GitHub data, last synced on November 24, 2026, and from our analysis. They are not legal advice.

From daily snapshots

Star history

  • fishros/install3,286 ★ · +77
Star history
Repository2026-09-242026-11-24
fishros/install3.2k3.3k

77 Stars in the last 61 days, measured from the daily GitHub snapshot. Compare with other projects

Editorial analysis

What fishros/install actually automates

The project is a collection of Python tool scripts behind a single menu. The README lists what is already supported: ROS (both ROS and ROS 2, on Raspberry Pi and Jetson), VS Code for amd64 and arm64, the GitHub Desktop client, a Node.js development environment, rosdep configuration through the author's rosdepc, ROS environment setup that regenerates the shell environment selection, an Ubuntu system source replacer, Docker for amd64 and arm64, cartographer, and the WeChat client. Each entry is a separate file under tools/, named tool_install_xxx.py or tool_config_xxx.py depending on whether it installs software or changes configuration.

The audience is narrow and clear. Someone who has just flashed Ubuntu onto a Jetson or a Raspberry Pi, or who is rebuilding a workstation and does not want to walk through the ROS apt repository setup, the key import, the source list edit and the rosdep init sequence by hand. The README's own framing is about not wasting time on repeated setup work. It is not a general package manager and it does not try to be one.

The menu, the tool files and the fish_install.yaml handoff

The architecture is a dispatcher plus plugins. install.py holds a tools list, and each entry points at a file in tools/. Every tool subclasses BaseTool from tools/base.py and declares a type, a name and an author, then implements run(). The base module also exposes the helpers tools are expected to use: PrintUtils for output, FileUtils for file operations, AptUtils for apt work, ChooseTask for prompting, CmdTask for shell commands, and run_tool_file for invoking another tool, which requires a dep entry in install.py's tools configuration. System facts arrive through osversion and osarch (amd64, i386 or arm), so a tool can branch on architecture without probing the machine itself.

The interesting part is how the interactive menu becomes scriptable. After you run the installer once by hand, it writes /tmp/fish_install.yaml recording the choices you made. Copy that file next to your build context and the same sequence of choices can be replayed non-interactively. The README shows this pattern for Dockerfiles, where each choose entry carries a number and a description string. That description has to match what the menu prints, which is the fragile part of the design: the config file encodes both a position and a label, and neither is validated against the tool list at build time.

Installing it and running a first unattended setup

The documented entry point is a single sourced command. The README gives it as `source <(wget -qO- http://fishros.com/install)`. Running it fetches the installer and starts the menu in your current shell, so the environment changes it makes are visible to that shell when it finishes.

bash
source <(wget -qO- http://fishros.com/install)

After you complete a run, the installer leaves a record of your choices at /tmp/fish_install.yaml. Copy it into your working directory before it is cleaned up.

bash
cp /tmp/fish_install.yaml ./

For a container build, the README's example installs wget and python3-yaml first, writes the choices file with echo, then downloads and runs the installer. Note that the yaml is generated by appending literal lines, so the indentation and the `chooses:` key have to be written exactly as shown.

dockerfile
RUN apt update \ 
    && apt install wget python3-yaml -y  \
    && echo "chooses:\n" > fish_install.yaml \
    && echo "- {choose: 1, desc: '一键安装:ROS(支持ROS和ROS2,树莓派Jetson)'}\n" >> fish_install.yaml \
    && echo "- {choose: 1, desc: 更换源继续安装}\n" >> fish_install.yaml \
    && wget http://fishros.com/install  -O fishros && /bin/bash fishros

The README also shows a source-only variant on ubuntu:22.04 that installs python3, python3-yaml and python3-distro, then picks the source-replacement path and cleans third-party sources. In both cases the last step is removing /var/lib/apt/lists/*, /tmp/* and /var/tmp/* and running apt-get clean. What you should see after a successful run is the tool's own completion output followed by a shell where the ROS environment is already sourced, if that was the branch you chose.

Where the design is thin: rollback, matching and unattended builds

Nothing in the README documents an uninstall or rollback path. Tools that replace system sources and write ROS environment settings change files that a package manager does not own, so undoing a wrong choice means knowing which files were touched, and the repository does not publish that list. On a machine you care about, that is the main risk.

The second weak point is the config replay. The choose entries in fish_install.yaml are positional and carry a human-readable description. If the tool list in install.py is reordered, or a menu label is reworded, an old config file can select a different branch or fail to match. The README does not describe any version pinning for the installer itself, and the repository has no published releases, so there is no tagged artifact to point a Dockerfile at. The practical consequence is that a Docker build using this pattern is not reproducible in the strict sense; it depends on whatever http://fishros.com/install serves at build time.

Third, the tooling assumes a Debian-family system. The README's examples are Ubuntu and the supported configurations are described in Ubuntu and Raspberry Pi terms. There is no stated support for Fedora, Arch or macOS, and no mention of what happens on a distribution whose apt layout differs.

How it compares to rosdep, apt and plain shell scripts

The closest conventional alternative is the standard ROS installation path: add the ROS apt repository and key, install ros-<distro>-desktop, then run rosdep init and rosdep update. That path is documented by the ROS project itself and produces the same end state for the ROS part, but it leaves the system source replacement, the shell environment selection and the extra tools (VS Code, Docker, Node.js, GitHub Desktop) to you. fishros/install bundles those steps behind one menu and adds rosdepc as an alternative to the upstream rosdep, which the README describes as faster and easier to use. Whether rosdepc behaves identically to upstream rosdep is not something the README addresses.

A second alternative is a hand-written provisioning script or an Ansible role. That gives you version pinning, reviewable diffs and an explicit uninstall path, at the cost of writing and maintaining the ROS repository setup yourself. The trade is legibility against convenience: fishros/install is faster to run once, a shell script is easier to audit and to reverse.

Maintenance, licence and what the repository does not state

The last push to the repository was on 2026-06-07, and the repository is not archived. The repository has no published GitHub releases, so there is no versioned artifact to depend on; upgrades arrive by whatever the installer endpoint serves. That matters for the upgrade story, because a Dockerfile that fetches http://fishros.com/install will pick up changes without any signal in your build. If you need stability, the only lever the README offers is copying fish_install.yaml and controlling the choices, not the installer code.

The licence is unknown. The repository metadata does not carry a licence identifier and the README does not name one. Before embedding this in a distributed product image, check the repository for a licence file or ask the maintainer, because redistribution terms for the bundled tool scripts are not stated anywhere in the README. This is a factual gap, not a legal opinion.

Contribution is documented and lightweight: fork, add a tool_install_xxx.py or tool_config_xxx.py under tools/, subclass BaseTool, set type, name and author, implement run(), then register the tool in install.py and test it. That is a low barrier, which is also why the menu can change shape between runs.

Editorial conclusion

Adopt fishros/install if you are setting up ROS or ROS 2 on a fresh Ubuntu, Raspberry Pi or Jetson machine and want the source swap, rosdep and environment steps handled in one menu. Do not adopt it for unattended production images without first generating and pinning a fish_install.yaml, because the interactive prompts are the only documented input path. Before rolling it out, verify which tool numbers in the menu match your target release and confirm the licence terms, since the repository does not state one.

Frequently asked questions

How do I install fishros/install?

The README gives a single command: source <(wget -qO- http://fishros.com/install). It fetches the installer and starts its menu in your current shell, so the environment changes apply to that shell.

Can fishros/install run without interactive prompts?

Yes, according to the README. Run it once by hand, copy /tmp/fish_install.yaml into your working directory, and the recorded choices can then be replayed in a Dockerfile or script.

Does fishros/install have an uninstall or rollback option?

The README does not document one. Tools that replace system sources or write ROS environment settings change files outside package management, and no list of touched files is published.

What licence does fishros/install use?

The repository metadata does not state a licence and the README does not name one. Check the repository for a licence file or ask the maintainer before redistributing it.

Official sources

  1. fishros/install on GitHub
  2. Issues
  3. Project website
  4. README
Add this badge to your README

If you maintain this project, the badge below links readers to this analysis and shows its maintenance status from the daily GitHub snapshot. Paste the markdown into your README; add ?metric=license or ?metric=stars to the image URL for a different field.

Add this badge to your README

markdown
[![Hysen Labs](https://hysenlabs.com/badge/fishros-install.svg)](https://hysenlabs.com/projects/fishros-install)

Star history chart for your README

markdown
[![Star history](https://hysenlabs.com/chart/fishros-install.svg)](https://hysenlabs.com/projects/fishros-install)

Was this useful?