macOS

courier is available via Homebrew. To install courier run:

brew tap blutui/courier
brew install courier

Create a Courier token

Before using Courier, you need to generate a Blutui access token. Follow these steps:

  1. In your Agency Console, click on your avatar in the top-right corner and choose Edit my profile.
  2. Go to the Apps section in the sidebar.
  3. Click Create token on the right, under the "Access tokens" section.
  4. Name your token, e.g., "Work MacBook".
  5. Set the token type to "Courier". Required permissions for Courier will be automatically selected.
  6. Click Create token. Your Courier token will be displayed. Copy and store it securely, as it will only be shown this one time.

Using your Courier token

  1. To securely add your access token to a token.txt file, use the following command:
read -s -p "Enter your Courier access token: " TOKEN && echo $TOKEN > token.txt

This command prompts for the token input without displaying it on-screen, then saves it to token.txt file without recording it in shell history.

  1. Log in to Courier using your token file:
courier login --token < token.txt
  1. Remember to delete the token.txt file once you have successfully logged into Courier.

Once configured, you're ready to start pushing and pulling projects.

Complete the getting started guide and learn how to start building your first project.

If you use Firefox please see the guide below

Upgrade on macOS

To upgrade to the latest version of courier, run:

brew upgrade courier

Firefox on macOS

To use courier dev on Firefox, you need to install nss (Network Security Services). NSS is a set of libraries designed to support cross-platform development of security-enabled client and server applications.

To install NSS on macOS run:

brew install nss

Was this helpful?

Copyright © 2024 Blutui.