Beginner

CLI Installation

Install the Tapioca CLI and IDE plugins to manage tasks and track time from your terminal and code editor.

The Tapioca CLI brings powerful task management and time tracking to your terminal. With the CLI, you can create tasks, log time, manage sprints, and even use a full TUI (Terminal User Interface) for a rich terminal experience.

System Requirements

  • Operating System: macOS, Linux, or Windows
  • Architecture: x86_64 or ARM64
  • Optional: Git (for branch-based task linking)

Installation Methods

Homebrew (macOS/Linux)

The recommended installation method for macOS and Linux users.

# Add the Tapioca tap
brew tap bcp-technology/tapioca

# Install the CLI
brew install tapioca

To upgrade to the latest version:

brew upgrade tapioca

Scoop (Windows)

For Windows users, we recommend Scoop.

# Add the Tapioca bucket
scoop bucket add tapioca https://github.com/bcp-technology/scoop-tapioca

# Install the CLI
scoop install tapioca

Chocolatey (Windows)

Alternative Windows installation via Chocolatey.

choco install tapioca

Direct Download

Download pre-built binaries from our releases page.

1

Go to Releases

Visit github.com/bcp-technology/tapioca/releases

2

Download Binary

Choose the appropriate file for your OS and architecture

3

Extract Archive

Unzip or untar the downloaded file

4

Move to PATH

Move the binary to a directory in your PATH

5

Verify

Run 'tapioca --version' to confirm installation

Available downloads:

PlatformArchitectureFile
macOSInteltapioca-darwin-amd64.tar.gz
macOSApple Silicontapioca-darwin-arm64.tar.gz
Linuxx86_64tapioca-linux-amd64.tar.gz
LinuxARM64tapioca-linux-arm64.tar.gz
Windowsx86_64tapioca-windows-amd64.zip

Go Install

If you have Go 1.21+ installed:

go install github.com/bcp-technology/tapioca/cmd/tapioca@latest

Make sure $GOPATH/bin (usually ~/go/bin) is in your PATH.

Docker

Run the CLI in a Docker container:

docker run -it --rm 
  -v ~/.tapioca:/root/.tapioca 
  ghcr.io/bcp-technology/tapioca:latest 
  tapioca --help

Shell Alias

Create an alias for easier Docker usage: ```bash alias tapioca='docker run -it --rm -v ~/.tapioca:/root/.tapioca ghcr.io/bcp-technology/tapioca:latest tapioca' ```

Verifying Installation

After installation, verify the CLI is working:

# Check version
tapioca --version

# Output: tapioca version 1.0.0 (abc1234)

# View help
tapioca --help

[Screenshot: Terminal showing tapioca —version output]

Initial Configuration

Authentication

Before using the CLI, you need to authenticate with your Tapioca account.

# Start interactive login
tapioca login

This opens your browser to complete authentication. After logging in, you’ll see:

✓ Successfully logged in as [email protected]
✓ Organization: Acme Corp
✓ Configuration saved to ~/.tapioca/config.yaml

[Screenshot: Browser login flow and terminal success message]

Self-Hosted Users

If you're using a self-hosted Tapioca instance, specify your server URL: ```bash tapioca login --server https://tapioca.yourcompany.com ```

Configuration File

The CLI stores configuration in ~/.tapioca/config.yaml:

# Server connection
server: https://api.tapioca.app
# or for self-hosted: server: https://tapioca.yourcompany.com

# Authentication
auth:
  token: "your-access-token"
  refresh_token: "your-refresh-token"
  expires_at: "2024-12-31T23:59:59Z"

# Default organization
organization: "org_abc123"

# Default project (optional)
project: "proj_xyz789"

# Output preferences
output:
  format: "table"  # table, json, yaml
  color: true
  pager: true

# TUI preferences
tui:
  theme: "default"
  refresh_interval: 30

Environment Variables

You can also configure the CLI via environment variables:

VariableDescriptionExample
TAPIOCA_SERVERServer URLhttps://api.tapioca.app
TAPIOCA_TOKENAPI token (bypasses login)tap_xxxxx
TAPIOCA_ORGDefault organization IDorg_abc123
TAPIOCA_PROJECTDefault project IDproj_xyz789
TAPIOCA_OUTPUTOutput formatjson
NO_COLORDisable colored output1

CI/CD Usage

For CI/CD pipelines, use `TAPIOCA_TOKEN` with an API token instead of interactive login: ```bash export TAPIOCA_TOKEN="tap_your_api_token" tapioca task list --project myproject ```

Switching Organizations

If you belong to multiple organizations:

# List your organizations
tapioca org list

# Switch to a different organization
tapioca org switch "Other Company"

# Or by ID
tapioca org switch org_def456

Shell Completion

Enable tab completion for your shell.

Bash

# Add to ~/.bashrc
source <(tapioca completion bash)

# Or generate file
tapioca completion bash > /etc/bash_completion.d/tapioca

Zsh

# Add to ~/.zshrc
source <(tapioca completion zsh)

# Or add to fpath
tapioca completion zsh > "${fpath[1]}/_tapioca"

Fish

tapioca completion fish > ~/.config/fish/completions/tapioca.fish

PowerShell

# Add to your PowerShell profile
tapioca completion powershell | Out-String | Invoke-Expression

After adding completion, restart your shell or source the configuration file.

[Screenshot: Terminal showing tab completion in action]

IDE Plugins

Enhance your development workflow with IDE plugins that automatically track time while you code.

VS Code Extension

1

Open Extensions

Press Cmd/Ctrl+Shift+X or click the Extensions icon

2

Search

Search for 'Tapioca'

3

Install

Click Install on 'Tapioca for VS Code'

4

Authenticate

Click the Tapioca icon in the sidebar and sign in

5

Configure

Set your default project in extension settings

[Screenshot: VS Code with Tapioca extension installed]

Features:

  • Automatic time tracking while coding
  • Branch-based task detection
  • Status bar showing current task and timer
  • Quick task switching via command palette
  • View tasks in sidebar

Extension Settings:

SettingDescriptionDefault
tapioca.serverServer URLhttps://api.tapioca.app
tapioca.autoTrackEnable automatic trackingtrue
tapioca.idleTimeoutMinutes before pausing5
tapioca.branchPatternRegex to extract task ID from branch(TASK-\d+)

JetBrains IDEs

Works with IntelliJ IDEA, WebStorm, PyCharm, GoLand, and other JetBrains IDEs.

1

Open Plugins

Go to Settings → Plugins → Marketplace

2

Search

Search for 'Tapioca'

3

Install

Click Install and restart the IDE

4

Authenticate

Go to Settings → Tools → Tapioca and sign in

5

Configure

Set your server URL and preferences

[Screenshot: JetBrains IDE with Tapioca plugin]

Features:

  • Automatic time tracking
  • Tool window showing current tasks
  • Git branch integration
  • Status bar widget
  • Quick actions via IDE actions

Branch-Based Task Linking

IDE plugins can automatically link time to tasks based on your Git branch name.

How It Works

  1. You create a branch with a task ID in the name
  2. The plugin detects the branch name
  3. Time is automatically tracked to that task

Supported Branch Patterns

The default pattern recognizes:

feature/TASK-123-add-login
bugfix/TASK-456
TASK-789-refactor

Configure custom patterns in plugin settings:

# Default pattern
(TASK-d+)

# Multiple prefixes
(TASK|BUG|FEAT)-d+

# Project prefix
(PROJ-d+)

Branch Naming Convention

Adopt a consistent branch naming convention like `type/TASK-123-description` for reliable automatic linking.

Manual Task Selection

If automatic detection doesn’t work or you need to override:

VS Code:

  1. Click the Tapioca icon in the status bar
  2. Select “Change Task”
  3. Search and select the task

JetBrains:

  1. Click the Tapioca widget in the status bar
  2. Select a different task from the dropdown

Updating the CLI

Homebrew

brew upgrade tapioca

Scoop

scoop update tapioca

Go Install

go install github.com/bcp-technology/tapioca/cmd/tapioca@latest

Checking for Updates

# Check if updates are available
tapioca version --check

# Output:
# Current version: 1.0.0
# Latest version: 1.1.0
# Update available! Run 'brew upgrade tapioca' to update.

Uninstalling

Homebrew

brew uninstall tapioca

Scoop

scoop uninstall tapioca

Manual

  1. Remove the binary from your PATH
  2. Delete the configuration directory:
    rm -rf ~/.tapioca

Troubleshooting

“Command not found”

If tapioca is not recognized:

  1. Check PATH: Ensure the installation directory is in your PATH

    echo $PATH
  2. Restart terminal: Close and reopen your terminal

  3. Verify binary location:

    which tapioca
    # or on Windows
    where tapioca

Authentication Errors

If login fails:

  1. Check internet connection: Ensure you can reach the server
  2. Clear credentials: Remove stored tokens
    rm ~/.tapioca/config.yaml
    tapioca login
  3. Check server URL: Verify you’re using the correct server

IDE Plugin Not Connecting

  1. Check authentication: Ensure you’re logged in via the plugin
  2. Verify server URL: Check plugin settings match your CLI config
  3. Check firewall: Allow connections to the Tapioca server
  4. View logs: Check IDE log files for error messages

Slow Performance

  1. Check network latency: Try pinging the server
  2. Use caching: Enable offline mode for faster reads
    tapioca config set cache.enabled true

Getting Help

If you continue to have issues: - Run `tapioca doctor` for diagnostic information - Check GitHub issues at github.com/bcp-technology/tapioca/issues - Contact support with the output of `tapioca debug-info`

Next Steps

Was this page helpful?

Let us know how we can improve