4. FaultyCMD Installation - ElectronicCats/faultycat GitHub Wiki
-
Download the file
faultycmd-vx.x.x.exefrom the releases section of the FaultyCat-TUI repository. -
Run the installer and follow the Inno Setup wizard. Leave "Add FaultyCat to PATH" checked so
faultycmdis callable from any terminal. -
To confirm the tool is running fine, open a new terminal session and use the command:
faultycmdSystem requirements:
- macOS 11 (Big Sur) or newer
- Intel or Apple Silicon Mac
- Check your architecture first:
uname -m-
arm64→ Apple Silicon installer -
x86_64→ Intel installer
- Download
faultycmd-x.x.x-x86_64.pkgfrom the releases section. - Open a terminal in the download location and run:
sudo installer -allowUntrusted -pkg faultycmd-x.x.x-x86_64.pkg -target /- Download
faultycmd-x.x.x-arm64.pkgfrom the releases section. - Open a terminal in the download location and run:
sudo installer -allowUntrusted -pkg faultycmd-x.x.x-arm64.pkg -target /Both .pkg variants install to /usr/local/opt/faultycmd/ and symlink the
binary to /usr/local/bin/faultycmd.
faultycmd setup-envThis installs udev-equivalent permissions for the FaultyCat USB CDC
interfaces and adds your user to the dialout group where applicable. Log
out and back in for group changes to apply.
- Download
faultycmd-x.x.x.debfrom the releases section. - Open a new terminal session and run the following commands:
sudo dpkg -i faultycmd-x.x.x.deb
sudo apt-get install -f # resolve any missing dependencies- Verify the installation with:
faultycmd --help-
Download
faultycmd-x.x.x.pkg.tar.zstfrom the releases section. -
Verify the installation with:
sudo pacman -U faultycmd-x.x.x.pkg.tar.zst- Clone the repository:
git clone https://github.com/ElectronicCats/faultycat-TUI.git- Enter the directory where the repository was saved:
cd faultycat-TUI- Create a virtual environment (recommended):
python3 -m venv venv-
Activate the virtual environment:
- Linux and macOS:
source venv/bin/activate- Windows:
venv\Scripts\activate
-
Install in editable mode:
make install
# equivalent to: pip install -e .Or build a standalone PyInstaller binary instead:
make compile-installThis runs pyinstaller faultycmd.spec and copies the result to
/usr/local/bin/faultycmd (requires sudo).
sudo faultycmd setup-envThis installs /etc/udev/rules.d/99-faultycat.rules for non-root access to
VID 1209 / PID FA17, and adds the invoking user ($SUDO_USER) to the
dialout group. Log out and back in for the group change to take effect.
faultycmd completion install # auto-detects bash/zsh/fishRestart your shell afterwards. Not supported on Windows.
The faultycmd la pulseview command automatically configures the firmware's SUMP/OLS mode and attempts to launch PulseView using shutil.which("pulseview"). For this to work, PulseView must be installed and accessible via your system's PATH. A raw AppImage downloaded directly from the website will fail to launch because its filename contains version and build hashes (e.g., pulseview-NIGHTLY-x86_64-debug_.AppImage), preventing the system from recognizing it by the simple pulseview name.
Follow the instructions below to set up Pulseview.
- Download the AppImage from the official download page: https://sigrok.org/wiki/Downloads
Note
It is recommended to download the Nightly builds. Download the Linux AppImage according to your system.
-
Save the AppImage file (
pulseview-NIGHTLY-x86_XX-debug.AppImage) to a directory that is easy to access (e.g.Documents/Apps). -
Open a terminal session in the path where the AppImage is located.
-
Run the command below to make it executable:
chmod +x ~/Documents/Apps/pulseview-*.AppImagePlace it wherever you save the AppImage, ~/Documents/Apps is just a convention used here.
- Expose it as
pulseviewon PATH:
mkdir -p ~/.local/binln -sf ~/Docuemtns/Apps/pulseview-*.AppImage ~/.local/bin/pulseview- Verify that the setup has been correctly done:
which pulseviewpulseview --version- Go to: Settings > Apps > Installed Apps
- Search for FaultyCat.
- Click on the three-dot menu on the right side and click on Uninstall.
Alternatively, you can run the installer and choose "Remove".
-
Open a new terminal session and run the following command:
-
Debian/Ubuntu
sudo dpkg -r faultycmd
-
Arch
sudo pacman -R faultycmd
-
- Open a new terminal session and run the following commands:
sudo rm -rf /usr/local/opt/faultycmdsudo rm -f /usr/local/bin/faultycmd- Open a new terminal session and run the following commands:
make uninstall