shaarli-client loads information about Shaarli instances from a configuration file, located at:

  • ~/.config/shaarli/client.ini (recommended)
  • ~/.shaarli_client.ini
  • shaarli_client.ini (in the current directory)
  • user-specified location, using the -c/--config flag

Several Shaarli instances can be configured:

the default instance
an additional instance that can be selected by passing the -i flag: $ shaarli -i my-other-instance get-info


url = https://host.tld/shaarli
secret = s3kr37!

url =
secret = m0d3rn71m3s

url = http://localhost/shaarli
secret = asdf1234