I have no idea why it tries to create a directory called /my-user-name, I have no idea if I fucked up with something prior to the installation or something like that.
flyctl was installed successfully to /home/user-name/.fly/bin/flyctl
Manually add the directory to your $HOME/.bash_profile (or similar)
export FLYCTL_INSTALL=“/home/user-name/.fly”
export PATH=“$FLYCTL_INSTALL/bin:$PATH”
Run ‘/home/user-name/.fly/bin/flyctl --help’ to get started
Basically I can launch flyctl by prepending the whole file path. How do I solve it ?
You’ll need to add /home/user-name/.fly/bin to your $PATH variable for your user, which in Ubuntu is typically something that can be set in $HOME/.bashrc or $HOME/.bash_profile.