Skip to main content

📝 Listing all Installed Bricks

🚀 Overview

We can list all installed bricks using the list (ls for short) command.

🗂 Local Bricks

mason list
└── hello 0.1.0+1 ->

By default the list command lists locally installed bricks.

If we change to a directory outside of the current workspace and list installed bricks we will no longer see the previous bricks because they are scoped to that workspace.

# Change to a directory outside the workspace
cd /me/dart_playground

# List available bricks
mason ls
└── (empty)

🌎 Global Bricks

We can list globally installed bricks by adding the --global (-g for short) flag.

mason ls -g
└── hello 0.1.0+1 ->