- Python 3.8 or higher
- Git repository
pip install goalgit clone https://github.com/wronai/goal.git
cd goal
pip install -e .git clone https://github.com/wronai/goal.git
cd goal
pip install -e ".[dev]"This installs additional development dependencies:
- pytest - for testing
- build - for building packages
- twine - for publishing to PyPI
goal --version
## Optional Dependencies
Goal works out of the box, but you might want these for specific features:
### For Python Projects
```bash
pip install pytest black isort flake8npm install -g
### Bash
```bash
eval "$(_GOAL_COMPLETE=bash_source goal)"Add to ~/.bashrc for permanent completion:
echo 'eval "$(_GOAL_COMPLETE=bash_source goal)"' >> ~/.bashrceval "$(_GOAL_COMPLETE=zsh_source goal)"Add to ~/.zshrc for permanent completion:
echo 'eval "$(_GOAL_COMPLETE=zsh_source goal)"' >> ~/.zshrceval (env _GOAL_COMPLETE=fish_source goal)FROM python:3.11-slim
WORKDIR /app
COPY . .
# Install Goal
RUN pip install goal
# Set up entrypoint
ENTRYPOINT ["goal"]
CMD ["--help"]docker run --rm -v $(pwd):/app -w /app wronai/goal:latest pushIf you get a permission error, you might need to install with user permissions:
pip install --user goalMake sure ~/.local/bin is in your PATH:
echo 'export PATH=$PATH:~/.local/bin' >> ~/.bashrc
source ~/.bashrcGoal requires Git to be installed:
# Ubuntu/Debian
sudo apt-get install git
### Python Version
Check your Python version:
```bash
python --version
# Should be 3.8 or higherIf you have multiple Python versions:
python3 -m pip install goalAfter installation: