Installing PS Banshee¶
Installation methods¶
Install ps-banshee with pipx or pip.
Installation¶
PS Banshee requires Python 3.10 or later (up to 3.13).
Recommended: pipx (isolated environment)¶
To install globally, run:
Installing pipx
If you don't have pipx installed, see the installation guide.
Alternative: pip (current environment)¶
To install in the current environment, run:
Dependencies¶
All required Python dependencies are resolved automatically by pip.
To use the pcap command, ensure you have:
- tshark 3.0.0 or later
Authorization¶
PS Banshee reads your Recorded Future API key from the RF_TOKEN environment variable (recommended) or from the -k / --api-key flag on each command.
Option 1: Set RF_TOKEN (recommended)¶
Current shell only:
Persist for future shells (zsh — adjust to ~/.bashrc for bash). Open a new shell after running this (or run source ~/.zshrc to apply in the current shell):
Current session only:
Persist for future sessions (open a new PowerShell after running this):
Option 2: Pass with -k per command¶
This works on any platform, but is more verbose and the key may land in shell history.
Upgrading PS Banshee¶
To upgrade PS Banshee to a newer version, reinstall using the updated wheel file.
Upgrading from v1.0.0 or earlier
If you are upgrading from v1.0.0 or an earlier version, you must uninstall the existing package first before installing the new version.
If installed with pipx:
If installed with pip:
If installed with pipx:
If installed with pip:
Shell autocompletion¶
After installing PS Banshee, enable command auto completion with:
Restart your shell to complete the installation. You can now use TAB to auto-complete commands.
Uninstallation¶
To remove PS Banshee from your system, use the appropriate command based on your installation method.
If installed with pipx:
If installed with pip:
Next steps¶
See the first steps to start using PS Banshee.