Quick Start¶
Get up and running with NEMAR CLI in 5 minutes.
1. Sign Up¶
Create a NEMAR account:
You'll be prompted to enter: - Username - Email address - Password (min 12 characters) - GitHub username - Description of why you need access
Admin Approval Required
After signing up, verify your email and wait for admin approval. You'll receive an API key via email once approved.
2. Log In¶
After receiving your API key:
nemar auth login
# Enter your API key when prompted
# Or provide it directly
nemar auth login -k nemar_your_api_key_here
3. Validate Your Dataset¶
Before uploading, validate your BIDS dataset:
Fix any errors before proceeding. Warnings are acceptable but should be reviewed.
4. Upload Your Dataset¶
Upload your validated dataset:
The upload process will: 1. Run BIDS validation 2. Create a private GitHub repository 3. Upload large files to S3 via git-annex 4. Initialize version control with DataLad
5. Check Status¶
Monitor your dataset:
Common Workflows¶
Download a Dataset¶
# Download dataset metadata
nemar dataset download nm000104
# Get all data files
cd nm000104
datalad get .
List Your Datasets¶
Create a New Version¶
After making changes, create a new version with DOI: