I've used pass for a few years now: https://wiki.archlinux.org/title/Pass
cli runs in terminal, you can run 'pass - c' to copy a password to your clipboard, and it has extensions for most things.
(Optional: You can also extend it to multiple machines/phones later by using an encrypted git repository)