Bash Script - Choose Flame Version

Logik Friends - If you like to run flame from a terminal so you can see log messages - AND you have multiple versions of flame installed:

I made this bash script that lets you type ‘flame’ in a terminal and choose which version to launch.

  • Simply hit enter to choose the newest version
  • Choose from the numbered list to choose a specific version
  • If there is only one version installed it automatically launches that one.

flame.zip (1.9 KB)

Instructions:

  • Unzip in your Downloads then in terminal:
  • cd ~/Downloads

  • chmod +x flame

  • sudo mv flame /usr/local/bin/flame

Then run it from anywhere:

flame

If you’ve never sourced your bin before:

macOS (zsh)

echo ‘export PATH=“/usr/local/bin:$PATH”’ >> ~/.zshrc && source ~/.zshrc

Linux (bash)

echo ‘export PATH=“/usr/local/bin:$PATH”’ >> ~/.bashrc && source ~/.bashrc

3 Likes