From 3fd457bae320e4dca5862c9ca46df91d439ca275 Mon Sep 17 00:00:00 2001 From: Josh Marshall Date: Wed, 14 Feb 2024 21:05:38 -0500 Subject: [PATCH] Update install-flyctl.html.markerb Added `bash` and bash-like shell specific modifications required to directly invoke Fly.io commands. Input taken from https://stackoverflow.com/a/30387689/826573 for prepending to text files. For very new people, this kind of thing can trip them up. --- hands-on/install-flyctl.html.markerb | 1 + 1 file changed, 1 insertion(+) diff --git a/hands-on/install-flyctl.html.markerb b/hands-on/install-flyctl.html.markerb index f147172e5b..89e1632182 100644 --- a/hands-on/install-flyctl.html.markerb +++ b/hands-on/install-flyctl.html.markerb @@ -30,6 +30,7 @@ If not, you can run the install script: ```cmd curl -L https://fly.io/install.sh | sh +{ echo 'export PATH="$PATH:$HOME/.fly/bin/"'; cat $HOME/.bashrc; } > bashrc.new && cp -pf bashrc.new $HOME/.bashrc && rm bashrc.new || echo "Some part of adding Fly.io binaries to $PATH failed!" ``` If you used curl to install flyctl, then you need to add the flyctl directory to your shell rc file. Check the output of the install script for the entries to copy and paste into the file. Now you can use the `flyctl` command from any directory. Or for maximum efficiency, you can use the `fly` command!