ysqlsh CLI for YSQL
AttentionThis page documents an earlier version. Go to the latest version.
ysqlsh is installed as part of YugabyteDB and is located in the bin directory of Yugabyte home.
ysqlsh (11.2) Type "help" for help. postgres=#
ysqlsh defaults the following flags so that the user does not have to specify them.
-h 127.0.0.1 -p 5433 -U postgres