pip install goal
git 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:
goal --version
# Goal, version 2.1.1
goal --help
# Usage: goal [OPTIONS] COMMAND [ARGS]...
Goal works out of the box, but you might want these for specific features:
pip install pytest black isort flake8
npm install -g
# Goal will use npm commands if package.json exists
# Install Rust first: https://rustup.rs/
# Goal will use cargo commands if Cargo.toml exists
eval "$(_GOAL_COMPLETE=bash_source goal)"
Add to ~/.bashrc for permanent completion:
echo 'eval "$(_GOAL_COMPLETE=bash_source goal)"' >> ~/.bashrc
eval "$(_GOAL_COMPLETE=zsh_source goal)"
Add to ~/.zshrc for permanent completion:
echo 'eval "$(_GOAL_COMPLETE=zsh_source goal)"' >> ~/.zshrc
eval (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 push
If you get a permission error, you might need to install with user permissions:
pip install --user goal
Make sure ~/.local/bin is in your PATH:
echo 'export PATH=$PATH:~/.local/bin' >> ~/.bashrc
source ~/.bashrc
Goal requires Git to be installed:
# Ubuntu/Debian
sudo apt-get install git
# macOS
brew install git
# Windows
# Download from https://git-scm.com/
Check your Python version:
python --version
# Should be 3.8 or higher
If you have multiple Python versions:
python3 -m pip install goal
After installation: