Troubleshooting
Common Issues
-
"Command not found" after installation
- Your bin directory may not be in PATH.
- Add
export PATH="$HOME/bin:$PATH"to your shell config file. - Run
source ~/.bashrcorsource ~/.zshrc.
-
Permission denied errors
- The script might not be executable.
- Run
chmod +x ~/bin/bimagicorsudo chmod +x /usr/local/bin/bimagic.
-
GitHub authentication errors
- Verify your
GITHUB_USERandGITHUB_TOKENenvironment variables are set correctly. - Ensure your token has the necessary permissions.
- Verify your
-
Remote operation failures
- Check your internet connection.
- Verify the repository name is correct.
Getting Help
If you encounter issues:
- Check that Git is installed:
git --version. - Verify your environment variables are set:
echo $GITHUB_USER. - Ensure you have a GitHub personal access token with repo permissions.