cxsql 0.1.1

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global cxsql --version 0.1.1
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local cxsql --version 0.1.1
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=cxsql&version=0.1.1
                    
nuke :add-package cxsql --version 0.1.1
                    

cxsql

cxsql is a mouse-first SQL terminal client for people who want a practical database workspace without leaving the terminal. It combines saved connections, an object explorer, SQL editor tabs, result grids, table metadata, query history, CSV export, and copy workflows in a cross-platform TUI.

Highlights

  • Connect to SQLite, PostgreSQL, and SQL Server.
  • Save connection profiles locally as JSON.
  • Browse database objects in a left-side explorer.
  • Double-click tables and views to preview data.
  • Open table details for structure, constraints, indexes, triggers, and DDL.
  • Run SQL in tabbed editors with syntax highlighting and completion.
  • Work with results in a sortable, filterable grid.
  • Generate SQL from result-grid column sort and filter actions.
  • Export visible result data to CSV or copy it as tab-delimited text.
  • Review and reload previous queries from local history.

Install

dotnet tool install --global cxsql
cxsql

Use

Start cxsql, create or open a connection, then use the object tree and editor together:

  • Double-click a saved connection to open it.
  • Double-click a table or view to run a preview query.
  • Right-click a table or view and choose Open Details to inspect metadata.
  • Right-click a result-grid header to sort or build a SQL filter.
  • Use the ResultGrid actions to export CSV, copy all rows, or clear filters.
  • Use F5 to execute the active SQL editor.

Build

dotnet tool restore
dotnet build cxsql.slnx
dotnet test cxsql.slnx

Run From Source

dotnet run --project src/cxsql/cxsql.csproj

Format

dotnet tool run csharpier -- check .
dotnet tool run csharpier -- format .

Publish

The Publish GitHub Actions workflow runs from version tags and manual dispatches. It builds Native AOT dotnet-tool packages with the multi-RID package pattern:

  • platform-specific packages: dotnet pack -p:ToolType=aot --use-current-runtime
  • agnostic package: dotnet pack -p:ToolType=aot
  • collected artifact: all-aot-packages

Publishing to nuget.org uses OIDC through NuGet/login@v1. Configure NuGet trusted publishing for the repository and the BigDream nuget.org account.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
0.2.1 114 10/25/2026
0.2.0 151 9/28/2026
0.1.2 305 6/29/2026
0.1.1 279 6/23/2026
0.1.0 285 6/20/2026