LightMesh CLI for macOS
macOS
The installation guide for Tidal LightMesh CLI on macOS. Start a trial today.
Install LightMesh CLI for macOS
- https://next.lightmesh.com/settings/downloads
- Depending on the host OS choose 32 or 64-bit version for download and note the location of the PKG file.
Note: some browsers may prompt with a message:
This type of file can harm your computer. Do you want to keep LightMesh-macos-{version} anyway?
Select the keep option to save the file.
- Double click on the PKG file to begin installation
- At the introduction step, click continue
- If required, change the install location, once complete click the install button.
- Installer is trying to install new software and may require the macOS password. Enter password and click continue
- Installer will then prompt for access to the PKG location folder, click ok to allow access to that location.
- Once prompted with a successful installation, the PKG can be moved to trash
Configure API Token
- To confirm that LightMesh CLI has been installed, and to verify the path open terminal and run
which lightmesh
. This will show the install path selected in the previous step - LightMesh CLI requires an API token. This token can be generated at https://next.lightmesh.com/settings/api-keys
- To create a new API key go to the above URL, click generate API key
- Once a key has been created click
show API key
button and copy the key to the clipboard - Export this key in your terminal section by running the following command:
export LIGHTMESH_API_TOKEN={key copied to clipboard}
Note: to persist the API key between terminal sessions this export command should be added to .bashrc or .zshrc
- To verify installation and token are set correctly type
lightmesh
into the terminal. The LightMesh CLI version should be shown, along with usage, topic, and command details