Skip to content

Quick Start

Get up and running with NEMAR CLI in 5 minutes.

Create a NEMAR account:

Terminal window
nemar auth signup

You’ll be prompted to enter:

  • Username
  • Email address
  • Password (min 12 characters)
  • GitHub username
  • ORCID iD (optional, for DOI metadata)
  • Description of why you need access

After approval, retrieve your API key using your email and password:

Terminal window
nemar auth retrieve-key
Terminal window
nemar auth login
# Enter your API key when prompted
# Or provide it directly
nemar auth login -k nemar_your_api_key_here

Before uploading real datasets, complete sandbox training:

Terminal window
nemar sandbox

This verifies your git-annex and GitHub setup by uploading a small test dataset.

Before uploading, validate your BIDS dataset:

Terminal window
nemar dataset validate ./my-dataset

Fix any errors before proceeding. Warnings are acceptable but should be reviewed.

Upload your validated dataset:

Terminal window
nemar dataset upload ./my-dataset

The dataset name defaults to the BIDS Name field in dataset_description.json (or the directory name as fallback).

Monitor your dataset:

Terminal window
nemar dataset status nm000104
Terminal window
# Download a dataset (includes data files)
nemar dataset download nm000104
# Or clone without data files
nemar dataset clone nm000104
# Get specific data files later
nemar dataset get sub-01/
Terminal window
nemar dataset list --mine

After making changes, create a version bump PR:

Terminal window
nemar dataset release nm000104 --type minor
Terminal window
# General help
nemar --help
# Command-specific help
nemar dataset --help
nemar dataset upload --help