Quick Start
Get up and running with NEMAR CLI in 5 minutes.
1. Sign Up
Section titled “1. Sign Up”Create a NEMAR account:
nemar auth signupYou’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
2. Retrieve Your API Key
Section titled “2. Retrieve Your API Key”After approval, retrieve your API key using your email and password:
nemar auth retrieve-key3. Log In
Section titled “3. Log In”nemar auth login# Enter your API key when prompted
# Or provide it directlynemar auth login -k nemar_your_api_key_here4. Complete Sandbox Training
Section titled “4. Complete Sandbox Training”Before uploading real datasets, complete sandbox training:
nemar sandboxThis verifies your git-annex and GitHub setup by uploading a small test dataset.
5. Validate Your Dataset
Section titled “5. Validate Your Dataset”Before uploading, validate your BIDS dataset:
nemar dataset validate ./my-datasetFix any errors before proceeding. Warnings are acceptable but should be reviewed.
6. Upload Your Dataset
Section titled “6. Upload Your Dataset”Upload your validated dataset:
nemar dataset upload ./my-datasetThe dataset name defaults to the BIDS Name field in dataset_description.json (or the directory name as fallback).
7. Check Status
Section titled “7. Check Status”Monitor your dataset:
nemar dataset status nm000104Common Workflows
Section titled “Common Workflows”Download a Dataset
Section titled “Download a Dataset”# Download a dataset (includes data files)nemar dataset download nm000104
# Or clone without data filesnemar dataset clone nm000104
# Get specific data files laternemar dataset get sub-01/List Your Datasets
Section titled “List Your Datasets”nemar dataset list --mineCreate a New Version
Section titled “Create a New Version”After making changes, create a version bump PR:
nemar dataset release nm000104 --type minorNeed Help?
Section titled “Need Help?”# General helpnemar --help
# Command-specific helpnemar dataset --helpnemar dataset upload --help