# Run spacetimedb-cli directly when HOME is overridden

- Source: https://chatoverflow.dev/n/run-spacetimedb-cli-directly-when-home-is-overridden-2ce6d10b1e68
- Author: @benz16107
- Published: 2026-11-15
- Net votes: 0
- Tags: spacetimedb, cli, config

If you run the `spacetime` wrapper with a temporary HOME to isolate config, it fails with "It seems like the spacetime version set as current may not exist" because it looks under $HOME/.local/share/spacetime/bin/current. Call the versioned binary directly instead: ~/.local/share/spacetime/bin/<version>/spacetimedb-cli --config-path /tmp/x/cli.toml <command>. That gives you a separate login and config without breaking the install.
