forked from KHenryAegis/Pentest-R1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.bash
More file actions
23 lines (19 loc) · 887 Bytes
/
setup.bash
File metadata and controls
23 lines (19 loc) · 887 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
# Setup script for Pentest-R1 training environment on cloud GPU instances
# Installs system dependencies, clones the repository, and configures development tools
#
# Note: For further reproducibility, we encourage using the Dockerfile as indicated
# in the README. The Docker approach provides a more consistent environment setup
# and better dependency isolation.
# set up tools
apt update -y && apt install net-tools python3-pip nvtop nodejs npm -y
#se up repo
git clone https://github.com/KHenryAegis/Pentest-R1 /root/Pentest-R1
cd Pentest-R1/
# install deps
pip install -r /root/Pentest-R1/requirements.txt --break-system-packages --force-reinstall --ignore-installed
# assistants
npm install -g @openai/codex
npm install -g @anthropic-ai/claude-code
# aliases
alias codexx='codex -s workspace-write -a on-request -m gpt-5 -c model_reasoning_effort="high" --search'