FPick is a simple utility that allows users to access their OS file dialog from the CLI.
This is particularly useful for image / video browsing with scripts.
Download the latest release for your system here.
Pick the binary that matches your OS:
- Windows —
fpick-windows.exe - macOS —
fpick-macos - Linux —
fpick-linux
- Download
fpick-windows.exefrom the releases page. - Rename it to
fpick.exe. - Move it to a folder on your
PATH(tutorial here) - for example, createC:\Tools\and add it to your PATH via System Properties → Environment Variables. - Open a new terminal and run
fpickto confirm it works.
Note: Windows SmartScreen may warn that the publisher is unverified the first time you run it, since the binary isn't code-signed. Click More info → Run anyway. If your antivirus flags it, this is a common false positive with PyInstaller binaries.
- Download
fpick-macosfrom the releases page. - Open Terminal and make it executable:
chmod +x ~/Downloads/fpick-macos- Move it onto your
PATH:
sudo mv ~/Downloads/fpick-macos /usr/local/bin/fpick- Run
fpickto confirm it works.
Note: Because the binary isn't notarized with Apple, Gatekeeper will block it on first launch. To allow it, either:
- Right-click the file in Finder → Open → Open (one-time bypass), or
- Run
xattr -d com.apple.quarantine /usr/local/bin/fpickafter moving it.
- Download
fpick-linuxfrom the releases page. - Make it executable and move it onto your
PATH:
chmod +x ~/Downloads/fpick-linux
sudo mv ~/Downloads/fpick-linux /usr/local/bin/fpick- Run
fpickto confirm it works.
Note:
fpickuses Tkinter for its file dialog, which depends on Tcl/Tk system libraries. On most desktop distros these are already present. If you get aTcl/Tkerror, install them:
- Debian/Ubuntu:
sudo apt install tk- Fedora:
sudo dnf install tk- Arch:
sudo pacman -S tk
If you have Python 3.10+ installed, you can skip the binary entirely:
pipx install fpickThis is the recommended option for developers — pipx handles isolation automatically and updates with pipx upgrade fpick. If you don't have pipx, install it with pip install --user pipx.
Running a python script that takes an image or video file as an output:
python some_script.py `fpick`
For those unfamiliar with terminal use (I.E. the primary target for this tool):
# either way works
echo `fpick` # the backticks are command substitution: the output of 'fpick' is passed as the argument to 'echo'
echo $(fpick) # more modern syntax for command substitution
Use the '-d' or '--directory' flags to return directories only:
Use the '-f' or '--file_extension' flags to filter by file extension:
git tag v0.1.0 && git push origin v0.1.0
Any tag starting with v and numerical version number should work (?)


