The best way is to extract the archive to Tcl lib directory.
It is normally the parent directory of director in Tcl global variable Tcl_library.
Extract XOSql archive in any place but load the directory to Tcl auto_path global variable.
Here an example of quick shell installation and usage
Tk Connection Dialog
XOSql has small Tk connection dialog to use common dialog for DB connection.
It supports also passing arguments as defaults.
For connect mysql use "IDEDBConnectDialog setConnectionOn MySql". If parameter is empty the user can choose the interface "IDEDBConnectDialog setConnectionOn {}". You can also pass some default values (as returned from getconnectionargs) "IDEDBConnectDialog setConnectionOn MySql {user root host 127.0.0.1}"