Shadi
06/06/2023, 8:36 PMfloitsch
06/07/2023, 8:23 AMShadi
06/07/2023, 8:42 AMfloitsch
06/07/2023, 8:42 AMfloitsch
06/07/2023, 8:43 AMfloitsch
06/07/2023, 8:44 AMfloitsch
06/07/2023, 8:44 AMfloitsch
06/07/2023, 8:45 AMShadi
06/07/2023, 8:45 AMfloitsch
06/07/2023, 8:45 AMfloitsch
06/07/2023, 8:45 AMfloitsch
06/07/2023, 8:46 AMfloitsch
06/07/2023, 8:46 AMShadi
06/07/2023, 8:49 AMShadi
06/07/2023, 8:57 AMfloitsch
06/07/2023, 8:57 AMfloitsch
06/07/2023, 8:57 AMfloitsch
06/07/2023, 8:59 AMShadi
06/07/2023, 9:07 AMShadi
06/07/2023, 9:07 AMfloitsch
06/07/2023, 9:37 AMfloitsch
06/07/2023, 9:38 AMexport PATH=$PATH:$PWD (assuming you are in the folder that contains artemis).floitsch
06/07/2023, 9:38 AMartemis and it will find it. At least in the terminal where you wrote export ....Shadi
06/07/2023, 9:40 AMShadi
06/07/2023, 9:49 AMfloitsch
06/07/2023, 9:49 AMfloitsch
06/07/2023, 9:50 AMShadi
06/07/2023, 9:52 AMShadi
06/07/2023, 9:52 AMfloitsch
06/07/2023, 9:55 AMfloitsch
06/07/2023, 9:57 AMShadi
06/07/2023, 10:02 AMfloitsch
06/07/2023, 10:02 AMPATH you should be able to just write artemis and the shell will find it.floitsch
06/07/2023, 10:03 AMexport it then sub programs can also see it.floitsch
06/07/2023, 10:03 AMfloitsch
06/07/2023, 10:03 AMPATH.floitsch
06/07/2023, 10:03 AM.zshrcfloitsch
06/07/2023, 10:04 AMzsh since you mentioned macOS, and that's the default there)Shadi
06/07/2023, 10:07 AMfloitsch
06/07/2023, 10:09 AMartemis executable.floitsch
06/07/2023, 10:09 AMartemis file out of the dmg and store it somewhere easier to find.floitsch
06/07/2023, 10:09 AMlocal/bin directory in your home and copy it there.floitsch
06/07/2023, 10:10 AMexport PATH=$PATH:$HOME/local/binfloitsch
06/07/2023, 10:11 AMfloitsch
06/07/2023, 10:11 AMfloitsch
06/07/2023, 10:14 AMPATH so we aren't too familiar with the typical macos flow).floitsch
06/07/2023, 10:17 AMapplications isn't actually a good place for it. So putting it into local/bin in your home is probably the best.floitsch
06/07/2023, 10:18 AMbrew setup working. That would make things easier to install.Shadi
06/07/2023, 11:06 AMShadi
06/07/2023, 11:56 AMfloitsch
06/07/2023, 11:58 AMfloitsch
06/07/2023, 11:59 AMfloitsch
06/07/2023, 11:59 AMfloitsch
06/07/2023, 11:59 AMfloitsch
06/07/2023, 11:59 AMfloitsch
06/07/2023, 12:00 PMfloitsch
06/07/2023, 12:06 PMfloitsch
06/07/2023, 12:10 PMcd /tmp
curl -L -O https://github.com/toitware/artemis-releases/releases/download/v0.6.2/artemis-macos.zip
unzip artemis-macos.zip
chmod +x artemis
mkdir -p $HOME/local/bin
mv artemis $HOME/local/bin
export PATH=$PATH:$HOME/local/bin
cd $HOME
artemis --versionfloitsch
06/07/2023, 12:11 PMps -p $$) you can change the PATH for future sessions by running the following command:
echo "PATH=$PATH:$HOME/local/bin" >> $HOME/.zshrcfloitsch
06/07/2023, 12:14 PMfloitsch
06/07/2023, 12:15 PMunzip might not be available directly or not have all the necessary features.
If you have difficulties with unzip you can either try to install a better version with brew install unzip (assuming you have brew installed), or simply unzip the archive by hand.Shadi
06/07/2023, 1:05 PMShadi
06/07/2023, 1:06 PMfloitsch
06/07/2023, 1:07 PMbmentink
06/09/2023, 2:18 AMcp /Volumes/artemis/artemis /Applications