Skip to content

Installation

jayjay181818 edited this page Nov 17, 2026 · 1 revision

Installation

Stockbar needs macOS 15.4 or later and an internet connection for market data. Nothing has to be installed first: Stockbar sets up its own Python.

Install a release

  1. Download Stockbar-<version>.zip from the latest release and unzip it. Versions 3.6.0 and earlier have no download. Testing and experimental builds are on the Releases page, marked Pre-release.
  2. Move Stockbar to your Applications folder before you open it. Until it is moved, macOS runs a downloaded app from a read-only copy, where it cannot update itself.
  3. Open it. macOS refuses the first time, because the app is not notarised by Apple. This is expected.

Open Anyway in Privacy & Security

Stockbar is built by GitHub without an Apple developer account, so it is signed ad hoc and not notarised. macOS therefore blocks the first launch of a downloaded copy.

  1. Try to open Stockbar once, so macOS records the attempt.
  2. Open System Settings → Privacy & Security.
  3. Scroll down to Security and choose Open Anyway.

You do this once per Mac. Updates installed by Stockbar itself are not blocked.

If you prefer the terminal, this does the same as the steps above:

xattr -dr com.apple.quarantine /Applications/Stockbar.app

First launch: set up Python

Stockbar fetches market data with a bundled Python script. It uses its own Python environment, and on first launch it asks you to create it.

  1. An alert titled Set Up Stockbar's Python appears.
  2. Choose Set Up Automatically. It needs an internet connection and usually takes under a minute.
  3. Prices from the Python providers are available from the next refresh.

What setup does:

  • It installs a current Python and Stockbar's pinned packages in ~/Library/Application Support/Stockbar/python-env.
  • It uses uv, or a Python 3.10 or later from Homebrew or python.org, if one is installed.
  • Otherwise it downloads a pinned release of uv, refuses it unless its SHA-256 matches the value built into Stockbar, and keeps uv and its Python in Stockbar's own Application Support folder.

You can run the same setup later from Settings → Advanced → Python, where the button reads Set Up (or Rebuild once the environment exists). Until it is set up, prices from the Python providers are unavailable; Trading 212 and Folync data do not need it. More detail, including using your own interpreter, is on Market Data and Python.

If you update from a version that used a different Python setup, the alert may read Python Dependencies Required instead. The same Set Up Automatically button fixes it.

Upgrading from 2.x

Make a backup first (Backups → Back Up Now). The first 3.x launch migrates the store in place, and older backups still restore. Coming from 3.6.0 or earlier, download the new version by hand once; later versions arrive through the updater. See Updates and Channels.

Build from source

You need macOS 15.4 or later and a current Xcode.

git clone https://github.com/jayjay181818/StockBar.git
cd StockBar
bash script/develop.sh run      # build, sign and launch

Or open Stockbar.xcodeproj in Xcode and run the Stockbar scheme. To create Stockbar's Python environment from a checkout:

bash script/setup_python_env.sh

Development builds have updates switched off: Settings → General → Updates shows only the version. More commands are on Development.

Uninstall

Quit Stockbar, move it to the Trash, and optionally remove its data:

defaults delete com.stockbar
rm -rf ~/Library/Application\ Support/Stockbar ~/Library/Application\ Support/com.stockbar
rm -rf ~/Library/Caches/stockbar-cache ~/Library/Logs/com.stockbar

Before uninstalling, clear the Trading 212 credentials and remove the market-data API keys in Settings → Connections. Any other saved credential, such as a Folync token, can be removed in Keychain Access (the item is labelled "Stockbar credentials").

Next: Getting Started.

Clone this wiki locally