How to Open Spreadsheets In The Terminal

by Lenny Zulauf
10 minutes read

How to Open Spreadsheets In The Terminal


Xleak in VS Code

If you spend the majority of time in the incurable, you probably prefer remaining there. Jumping to a complete spread sheet app purely to without defer investigate a spread sheet can feel prefer overkill. That is whereby Xleak comes in. It enables you amenable and browse spreadsheets proper inside your incurable window. You might not proper away browse through how useful it is, but when you takeoff making earn serviceability of of it, it clicks. For instance, when jumping on file pipelines by means of Python’s pandas or polars, you in some instances amass file artifacts for others to utilise, whether as CSV or Excel data. It can be a wrangle to give up the incurable purely to view them. Xleak resolves that.

What Xleak Is and Why It Exists

Xleak is a incurable-based viewer for Excel spreadsheets. Instead of opening your xlsx record in a visual app, you amenable it proper inside your shell. It supplies rows and obelisks in a structured, scrollable interface, and by means of interactive mode allowed, you can navigate vast sheetings that would not otherwise suited on a single display.

The core utilise pod is simple. You have a spread sheet, and you twinge to investigate it without defer. Conceivably you exported file from a tool, probably you received a report, probably you are debugging something, and purely must testify well worths. Instead of launching a complete desktop computer implementation, you withhold whereby you are and amenable it by means of command queue.

Xleak interactive viewer
How to Open Spreadsheets In The Terminal 14

The tool is still reasonably detectable. Throughout purging, I watched a few rough edges. For instance, the remnants of the initial command message are still famous in the interface, prefer traipsing personalities in a column tag. So of training course, it is fresh out of the cooking venue. But it is currently usable, and for innumerable workflows, it is truly dears.

Another invaluable accuracy is that Xleak focuses on Excel data. Advice for CSV data is being mulled over, which could eventually earn it a single tool for both styles. For presently, if your workflow revolves around xlsx data, this is whereby it sparkles.

Prepping Xleak

Obtaining Xleak up and sprinting is simple.

On macOS or Linux, you can mount it making earn serviceability of of Homebrew. If you currently utilise Brew for your packages, you can acquire launched in mins.

brew install bgreenwell/tap/xleak

On Windows, you can mount it making earn serviceability of of Scoop. Initially, contain the vital bucket, then mount the tool.

scoop bucket add bgreenwell https://github.com/bgreenwell/scoop-bucket
scoop install xleak

Once evolve, you can purely sprinted the command xleak to testify it is readily available.

Xleak Configuration

Unalike some unchanged tools that wear’t come by means of any config wills, Xleak gives you wills you might twinge to tweak. The arrangement record stays in different regions counting on your gizmo.

On Linux, it is saved at:

~/.config/xleak/config.toml

On macOS, you will situate it at:

~/Library/Application Support/xleak/config.toml

On Windows, it is positioned at:

%APPDATA%xleakconfig.toml

You can modify this record to readjust how the interface behaves. For instance, you can readjust the optimum digit of rows instructed or tweak column widths. You can alike readjust the motif and keybinding profile.

Right here is an instance arrangement that caboodles a different default color scheme and enables a Forte-oomph keybinding profile.

[ui]
max_rows = 50
column_width = 30

[theme]
default = "Github Dark"

[keybindings]
profile = "vim"

If you are currently comfy by means of Forte-oomph navigating, you can earn the tool spoof the means you intend. You are not locked into debts. Over time, you can tune it so it matches your workflow basically specifically.

A complete arrangement instance is readily available in the GitHub repository, but also miniscule tweaks prefer motif and keybindings can earn a beefy disobedience in day-to-day utilise.

Manipulating Xleak to Open Spreadsheets in the Incurable

Once Xleak is evolve, opening a spread sheet in the Incurable is simple. The the majority of invaluable point to remember is the interactive flag. Without it, vast data can be hard to navigate. By means of it, you acquire a a heap much more detailed reading ordeal.

To amenable a spread sheet in interactive mode, sprinted:

xleak example.xlsx -i

The spread sheet boatloads proper in your incurable. If the record owns more rows or obelisks than suited on your display, interactive mode enables you scroll and navigate by means of them.

Xleak wrap view
How to Open Spreadsheets In The Terminal 15

The real top weakness arrives when you are currently on a incurable-substantial workflow, whether you purely amassed a spread sheet from a manuscript or you are SSHed into a secluded equipment without a visual ecological district readily available. Instead of downloading and install the record or arranging spoof forwarding to amenable it in other places, you can purely view it in venue.

Xleak wills
How to Open Spreadsheets In The Terminal 16

It is alike useful for rapid appraisals. You lug out not habitually last decision formulas, charts, or editing facilities. Intermittently you purely must testify that row 248 owns the proper well worth, or that a column header matches what you intend. Xleak takes care of that affliction genuinely well. That said, since the tool is still detectable, you might experience miniscule problems.

There is alike an infatuating overlap by means of other incurable file tools. Being plentiful keybindings seem acquainted, and by means of arrangement, you can proper them also more closely by means of tools you currently utilise. If CSV maintain lands in the future, Xleak could perhaps readjust multiple website visitors in my toolkit.

You can lug out added from the incurable than you reckon. For instance, I have tried making earn serviceability of of a internet browser proper from the incurable, and the ordeal was not also destructive. If you last decision more tips, investigate out some useful points you didn’t realize you could lug out in your Linux incurable.

Xleak
Price: Unshackle

Related Posts