FOR FUTURE READERS:
If you are in my spot it’s cuz Foreman is trash and hard to install for Mac but here’s the tutorial:
-
in the terminal type in
sudo nano ~/.zprofile
assuming you’re using zsh if not, dosudo nano ~/.bash_profile
then in there paste in:# foreman export PATH=$HOME/.foreman/bin:$PATH
use
control
+x
then pressy
and thenenter
to save and exit the file. -
next in the terminal type
sudo nano .zshenv
if you are zsh if not, then dosudo nano .bashenv
and type in:# foreman path+=("$HOME/.foreman/bin")
use
control
+x
then pressy
and thenenter
to save and exit the file. -
Next in the terminal do
mkdir ~/.foreman/
then docd ~/.foreman
and then doopen .
. Once inside this folder create a bin folder and put theArm64
orMax86
foreman file you got from the foreman Git Hub releases page. Make sure it’s the extracted file not the zipped file! Then go back out of the bin file and create aforeman.toml
file do this by in terminal typingcd ~/.foreman
again to ensure you are in the folder then doingtouch foreman.toml
edit this file with vs code or notepad or whatever and type in it:[tools] rojo = { source = "rojo-rbx/rojo", version = "7" } selene = { source = "Kampfkarren/selene", version = "x" } wally = { source = "UpliftGames/wally", version = "0.3.1" }
this is a global toml file and it is completely optional. You will make a similar file each time you create a new project and wish to use foreman; you could add
remodel
or other tools if you use them. -
Now that your folder is complete, run
cd ~/.foreman
again to ensure you are in the folder one last time; and in the terminal runchmod +x .
thensudo chmod 755 foreman
-
Lastly run
cd ~
and you should be able to useforeman -h
and have foreman installed!
If you know anything about this topic feel free to correct me on things and I’ll make updates accordingly, as I am not very knowledgeable on this topic but suffered through the 4 hours it took me of head scratchin’ to get it working.