Skip to content

Installation

Follow these steps to install and set up the Strava Activity CLI tool on your system.

Getting the Code

  1. Clone the repository:

    bash
    git clone git@github.com:meinar/strava-cli.git
    cd strava-cli
  2. Install dependencies:

    bash
    npm install

Environment Setup

  1. Create a .env file in the root directory
  2. Add your Strava API credentials:
    env
    STRAVA_CLIENT_ID=your_client_id
    STRAVA_CLIENT_SECRET=your_client_secret

Verification

Verify the installation by running:

bash
strava --version

This should display the version number of the CLI tool.