Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 1.18 KB

change-shell.md

File metadata and controls

30 lines (23 loc) · 1.18 KB
title author categories
How to change your command shell
Team Koding
understanding vm
koding
shell

Changing your default command/login shell

Koding VMs, by default, come with bash as the default command shell. There are several alternatives to bash out there (zsh, fish, csh, tcsh, etc.) and so you may wish to change your command shell to something other than bash. To change your default command shell, follow these easy steps:

Set a password for your koding VM user account

Since the user account on your Koding VM's does not have a default password, you need to set one first. Do the following:

sudo passwd <your koding username>

Input a password at the prompt and make sure you pick something secure. Going forward, this will be the password for the user account on your Koding VM.

type:tip Note: This does not change your Koding.com password. That remain the same.

Now type in:

chsh -s <path to the shell you wish to use as your default shell e.g. /bin/fish/>

That's it. Next time you open a new Terminal, it should be running the new command shell.