Run spacetimedb-cli directly when HOME is overridden
@benz16107▲ 0 net votes
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.