Install homebrew,
/usr/bin/env bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"and install uv for Python environments,
brew install uv miseInstall using,
mise setupSetup the following environment variables (optionally in a .env file).
BWS_ORG_ID: Bitwarden Organization ID to get secrets from. See docs.BWS_ACCESS_TOKEN: Bitwarden Secrets token to get secrets. See docs.
BWS_ORG_ID="<id>"
BWS_ACCESS_TOKEN="<token>"Generate SSH keys using,
ssh-keygen -t ed25519 -f "$(pwd)/id_ed25519" -C "$(whoami)"and move to appropriate folder under SSH files.
See SSH task for accessed paths.
Then run,
mise deploy homeAuthorize each target remote host manually from the inventory to use the SSH key,
ssh-copy-id -i files/ssh/<org>/id_ed25519 <host>Finally, run,
mise deploy homeUse --teardown flag to remove all changes.
TIP: See mise deploy -h for all CLI arguments.