Select accounts and package targets
rvs keeps the authenticated user, local profile, acting account, and package
target as separate layers. This prevents identical namespace or repository
names in different accounts from being confused and keeps activity and billing
with the acting account.
Select an account
Section titled “Select an account”List the personal account and organizations available to the authenticated user in the effective local profile:
rvs account listrvs account currentUse a readable selector:
rvs account use personalrvs account use org:acmeIf a readable label matches more than one account, rvs refuses to guess and
prints the stable account references you can use instead. The selected account
controls authorization, activity, and billing for following commands.
Use the intended account before choosing its repository or mirror. This keeps the destination visible for every following command.
Select a private repository
Section titled “Select a private repository”Private repository targets use namespace/repository:
rvs art select platform/backendrvs art currentAn unqualified repository target currently means the internal realm. You can state that realm explicitly, and doing so keeps scripts ready for future global namespaces:
rvs art select internal:platform/backendglobal:namespace/repository is valid target syntax, but Ravenstash rejects it
with GlobalNamespacesUnavailable until the global realm launches. Stable
selectors use the same syntax, for example
internal:in_wsabc123/r_repo1234.
The namespace makes the selection unambiguous inside the acting account. If two
accounts both contain platform/backend, use the intended account before
selecting the repository. Ravenstash refuses any remaining ambiguous match
rather than guessing.
After selection, omit the target:
rvs art pypi install internal-librvs pip install internal-lib--kind pypi|npm|maven|container|helm is needed only when an operation cannot
infer the registry kind. A native wrapper or a helper such as rvs art pypi
already supplies it. It is not required merely to select a uniquely resolvable
target.
Select a private mirror
Section titled “Select a private mirror”Official and custom mirrors use visibly different target prefixes:
rvs art mirror select pypiorgrvs art mirror select --custom piwheelsThese are equivalent to:
rvs art select mirror:pypiorgrvs art select custom-mirror:piwheelsIf the same custom name exists for more than one registry kind, disambiguate it:
rvs art mirror select --custom internal --kind pypiPrivate mirrors belong to the selected account. Two accounts may therefore have mirrors with the same visible name without collision.
Clear the selected target
Section titled “Clear the selected target”rvs art clearClearing a target does not sign out, change the acting account, or delete anything.
For PyPI, npm, and Maven install helpers, rvs can then use the selected account’s
enabled official default (pypiorg, npmjs, or maven-central). If no suitable
mirror is available, it asks you to select a target.
Show context in the prompt
Section titled “Show context in the prompt”Install the prompt hook for Bash, Zsh, or Fish:
rvs shell setup# Or choose explicitly:rvs shell setup --shell zshA new shell shows the effective local profile, acting account, and target:
(work · org:acme · platform/backend)With the hook active, using a profile, account, or target changes only that shell. Another terminal can stay on a different organization or repository. The hook stores only non-secret session context.
Selection behavior
Section titled “Selection behavior”Package operations use the selected target for the effective local profile and
acting account. If no target is selected, supported install helpers can use that
account’s enabled official mirror. Run rvs context current to verify the
authenticated user and see where the effective profile, account, and target
selections came from. Select a target explicitly whenever you want the
destination to be unambiguous.

