Overview
Bluebricks command line, named bricks, enables engineers to engage with Bluerbicks API using the command line interface.
bricks is suitable for CI/CD workflows and provides various functionalities such as environment setup and management, blueprint creation, and installation.

Install bricks Command Line
bricks Command LineInstall homebrew, open the terminal, and paste the below command:
Open the terminal, and paste the below command:
Open the PowerShell, and paste the below command:
Test your Installation
After installing, you can test your installation by running bricks --help.
Additionally, authenticate bricks CLI with your Bluebricks account, use bricks login , and then test your connectivity status by running bricks whoami.
Configuration
The CLI allows external configuration. Discover how to adjust the runtime settings and accommodate various runtimes in the Configuration Management article.
CLI Logging and Troubleshooting
The Bricks CLI logs its activity locally for debugging purposes and does not ship logs to a remote location. By default, the Bricks CLI logger is off and can be enabled using the bricks logger enable command.
Logs are written to the following path and are chunked into 2MB file sizes:
The severity level is set to "info" and cannot be changed.
Each command logs its activity to the file using the following scheme:
Last updated
Was this helpful?

