Install as standalone

Bright CLI offers a convenient installation option through standalone executables, which provide a streamlined way to get started on various operating systems. Standalone executables eliminate additional dependencies, ensuring a hassle-free setup process.

Use GitHub Releases to download a standalone executable (macOS, Linux, Windows) of Bright CLI for your platform.

You can also use these direct links to download the executables:

System Requirements

Before installing Bright CLI, ensure that your system meets the following requirements:

  • MacOS: MacOS 10.13 or later.
  • Windows: Windows 8 or later.
  • Linux: A compatible Linux distribution with Linux 4.18 Kernel and later.

Installation

Use this recipe or follow the guidelines:

  1. Open Terminal.
  2. Run these commands to download and place Bright CLI:
Invoke-WebRequest -Uri "https://github.com/NeuraLegion/bright-cli/releases/latest/download/bright-cli-win-x64.exe" -OutFile "bright-cli.exe"
New-Item -Path "C:\Program Files\Bright" -ItemType Directory -Force | Out-Null
Move-Item -Path ".\bright-cli.exe" -Destination "C:\Program Files\Bright\bright-cli.exe"
[Environment]::SetEnvironmentVariable("Path", "C:\Program Files\Bright;" + [Environment]::GetEnvironmentVariable("Path", [EnvironmentVariableTarget]::User), [EnvironmentVariableTarget]::User)
curl --compressed https://github.com/NeuraLegion/bright-cli/releases/latest/download/bright-cli-macos-x64 -o bright-cli
chmod +x ./bright-cli
sudo mv ./bright-cli /usr/local/bin/

Alternatively, you can add the program's path to your PATH environment variable on macOS or Linux:

echo -n "export PATH=\"/path/to/your/bright-cli:\$PATH\"" >> "$HOME/.bashrc"  
source "$HOME/.bashrc"

Make sure to replace /path/to/your/bright-cli with the actual path where you've placed the executable. If using a different shell, update the profile file name accordingly (e.g., .zshrc or .profile).
To verify a successful installation, open a Command Prompt or Powershell and execute the following command:

bright-cli --version

If the CLI's version information is displayed, the installation was successful.

Troubleshooting

For more details, see the troubleshooting article.