Getting Started¶
This guide walks you through installing atlcli, authenticating with Atlassian, and running your first commands.
Installation¶
Prerequisites¶
- Bun v1.0 or later
- An Atlassian Cloud account
Install from Source¶
The CLI is now available at ./apps/cli/dist/atlcli.
Add to PATH
Add the dist directory to your PATH or create an alias:
Authentication¶
atlcli uses API tokens for authentication. You can manage multiple profiles for different Atlassian instances.
Create an API Token¶
- Go to Atlassian Account Settings
- Click Create API token
- Give it a descriptive name (e.g., "atlcli")
- Copy the token
Initialize Authentication¶
Follow the prompts to enter:
- Instance URL: Your Atlassian instance (e.g.,
https://yourcompany.atlassian.net) - Email: Your Atlassian account email
- API Token: The token you created
Your credentials are stored securely at ~/.atlcli/credentials.json.
Multiple Profiles¶
Create named profiles for different instances:
Use --profile with any command:
Confluence Quick Start¶
Initialize a Local Directory¶
This creates a local directory linked to the TEAM space.
Pull Pages¶
Pages are downloaded as markdown files with YAML frontmatter:
Edit and Push¶
Edit files locally with your favorite editor, then push changes:
atlcli detects changes and updates only modified pages.
Jira Quick Start¶
Search Issues¶
# Your assigned issues
atlcli jira search --assignee me
# Open bugs in a project
atlcli jira search --project PROJ --type Bug --status Open
# Using JQL directly
atlcli jira search --jql "project = PROJ AND sprint in openSprints()"
View an Issue¶
Create an Issue¶
Track Time¶
# Start a timer
atlcli jira worklog timer start PROJ-123
# Stop and log time
atlcli jira worklog timer stop PROJ-123
# Or log directly
atlcli jira worklog add PROJ-123 --time 2h --comment "Code review"
JSON Output¶
All commands support --json for scripting:
Next Steps¶
- Confluence Guide - Deep dive into sync, templates, macros
- Jira Guide - Issues, boards, sprints, analytics
- Recipes - Real-world workflows
- Configuration - Customize atlcli behavior