# rqlite `rqlite` is a command line tool for connecting to a rqlited node. Consult the [SQLite query language documentation](https://www.sqlite.org/lang.html) for full details on the supported SQL syntax. ## Build ```sh go build -o rqlite ``` ## Usage ```sh $> rqlite -h Options: -h, --help display help -s, --scheme[=http] protocol scheme (http or https) -H, --host[=127.0.0.1] rqlited host address -p, --port[=4001] rqlited host port -P, --prefix[=/] rqlited HTTP URL prefix i, --insecure[=false] do not verify rqlited HTTPS certificate ``` ## Example ```sh $ ./rqlite 127.0.0.1:4001> CREATE TABLE foo (id INTEGER NOT NULL PRIMARY KEY, name TEXT) 0 row affected (0.000362 sec) 127.0.0.1:4001> .tables +------+ | name | +------+ | foo | +------+ 127.0.0.1:4001> .schema +---------------------------------------------------------------+ | sql | +---------------------------------------------------------------+ | CREATE TABLE foo (id INTEGER NOT NULL PRIMARY KEY, name TEXT) | +---------------------------------------------------------------+ 127.0.0.1:4001> INSERT INTO foo(name) VALUES("fiona") 1 row affected (0.000117 sec) 127.0.0.1:4001> SELECT * FROM foo +----+-------+ | id | name | +----+-------+ | 1 | fiona | +----+-------+ 127.0.0.1:4001> quit bye~ ```