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:
- In your Agency Console, click on your avatar in the top-right corner and choose
Edit my profile
. - Go to the
Apps
section in the sidebar. - Click
Create token
on the right, under the "Access tokens" section. - Name your token, e.g., "Work MacBook".
- Set the token type to "Courier". Required permissions for Courier will be automatically selected.
- 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
- 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.
- Log in to Courier using your token file:
courier login --token < token.txt
- 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