chsh

Change user's login shell. See platform-specific pages for more options. More information: https://manned.org/chsh.

chsh

chsh -s path/to/shell

chsh -s path/to/shell username