Installation

An introduction to using the Sling CLI tool.

Sling CLI Demo

Getting Started

sling CLI is a free tool that allows data extraction and loading from / into many popular databases / storage platforms. Follow the instructions below to install it on your respective operating system.

Installation

All commands below will install the latest version of sling. If you'd like to determine which version is latest/current, you can check out the releases page on github.

Brew on Mac

Follow these directions to install HomeBrew for mac if not already installed.

Scoop on Windows

Linux

Docker

Other Binary Downloads

See Releases on Github.

Setting up your Connections

Sling looks for credentials in several places:

  • Environment Variables

  • Sling Env File (located at ~/.sling/env.yaml)

  • DBT Profiles Files (located at ~/.dbt/profiles.yml)

Please see environment for more details.

Using Sling

sling CLI is designed to be easy to use. Say we want to load a CSV file into a PostgreSQL database. We could run the following command:

With Python

If you have Python pip installed, you can simply run:

You call also check out the Python wrapper library on github.

Last updated

Was this helpful?