Installing ggsql

Building from Source

If you prefer to build from source or need the latest development version:

  1. Clone the repository:

    git clone https://github.com/posit-dev/ggsql
    cd ggsql
  2. Install tree-sitter CLI:

    npm install -g tree-sitter-cli
  3. Build the project:

    cd tree-sitter-ggsql && tree-sitter generate && cd ..
    cargo build --release
  4. Install the CLI:

    cargo install --path src
  5. Install the Jupyter kernel (optional):

    cargo install --path ggsql-jupyter
    ggsql-jupyter --install