Installation

Installation

Recommended

The easiest way to install Flyscrape is to use the following command. Note: This only works on macOS, Linux and WSL (Windows Subsystem for Linux).

Terminal
curl -fsSL https://flyscrape.com/install | bash

Alternative 1: Homebrew (macOS)

If you are on macOS, you can install Flyscrape via Homebrew.

Terminal
brew install flyscrape

Otherwise you can download and install Flyscrape by using one of the pre-compiled binaries.

Alternative 2: Manual installation (all systems)

Whether you are on macOS, Linux or Windows you can download one of the following archives to your local machine or visit the releases page on Github.

macOS

Linux

Windows

Unpack

Unpack the downloaded archive by double-clicking on it or using the command line:

Terminal
tar xf flyscrape_<os>_<arch>.tar.gz

After unpacking you should find a folder with the same name as the archive, which contains the flyscrape executable. Change directory into it using:

Terminal
cd flyscrape_<os>_<arch>/

Install

In order to make the flyscrape executable globally available, you can move it to either location in your $PATH variable. A good default location for that is /usr/local/bin. So move it using the following command:

Terminal
mv flyscrape /usr/local/bin/flyscrape

Verify

From here on you should be able to run flyscrape from any directory on your machine. To verify you can run the following command. If everything went to plan you should see Flyscrapes help text:

Terminal
flyscrape --help
Terminal
flyscrape is a standalone and scriptable web scraper for efficiently extracting data from websites.

Usage:

    flyscrape <command> [arguments]

Commands:

    new    creates a sample scraping script
    run    runs a scraping script
    dev    watches and re-runs a scraping script