Skip to content

Commit 26e94c1

Browse files
committed
global install
1 parent bdcf53c commit 26e94c1

2 files changed

Lines changed: 18 additions & 7 deletions

File tree

README.md

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,11 @@ AgentStack is _not_ a low-code alternative to development. Developers will still
2222
Assuming you're in your project folder (e.g., `TestFolder`) and have UV installed:
2323

2424
```sh
25-
# Install AgentStack globally (if not already installed)
26-
uv pip install --break-system-packages --user -e /Users/bastiannisnaciovenegasarevalo/uvAsTackCloneT-2/actualCustomRepo/uvAgentStack
25+
# Install AgentStack globally using UV's tool management
26+
uv tool install -e /Users/bastiannisnaciovenegasarevalo/uvAsTackCloneT-2/actualCustomRepo/uvAgentStack
27+
28+
# Make sure UV's bin directory is in your PATH
29+
uv tool update-shell
2730

2831
# Create a new AgentStack project
2932
agentstack init myproject
@@ -64,9 +67,10 @@ pip install uv
6467

6568
Once UV is installed, here's how to create a new project:
6669

67-
1. Install AgentStack globally:
70+
1. Install AgentStack globally using UV's tool management:
6871
```sh
69-
uv pip install --break-system-packages --user -e /Users/bastiannisnaciovenegasarevalo/uvAsTackCloneT-2/actualCustomRepo/uvAgentStack
72+
uv tool install -e /Users/bastiannisnaciovenegasarevalo/uvAsTackCloneT-2/actualCustomRepo/uvAgentStack
73+
uv tool update-shell # Add UV's bin directory to your PATH
7074
```
7175

7276
2. Create your AgentStack project:
@@ -95,9 +99,14 @@ agentstack run
9599

96100
UV will automatically manage your project's dependencies through the pyproject.toml file. The lockfile (`uv.lock`) will track exact dependency versions for reproducible builds.
97101

98-
Note: If you prefer not to install AgentStack globally, you can also run it directly using:
102+
Note: If you prefer not to install AgentStack globally, you can also use a dedicated virtual environment:
99103
```sh
100-
uvx agentstack init myproject
104+
# Create and activate a virtual environment
105+
uv venv
106+
source .venv/bin/activate
107+
108+
# Install AgentStack in the virtual environment
109+
uv pip install -e /Users/bastiannisnaciovenegasarevalo/uvAsTackCloneT-2/actualCustomRepo/uvAgentStack
101110
```
102111

103112
### Templates

agentstack/cli/cli.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,9 @@ def insert_template(
440440
"🚀 \033[92mAgentStack project generated successfully!\033[0m\n\n"
441441
" Next steps:\n\n"
442442
" 1. Install AgentStack globally (if not already installed):\n"
443-
" uv pip install --break-system-packages --user -e /Users/bastiannisnaciovenegasarevalo/uvAsTackCloneT-2/actualCustomRepo/uvAgentStack\n\n"
443+
" uv tool install -e /Users/bastiannisnaciovenegasarevalo/uvAsTackCloneT-2/actualCustomRepo/uvAgentStack\n"
444+
" # Make sure UV's bin directory is in your PATH\n"
445+
" uv tool update-shell\n\n"
444446
f" 2. Navigate to your project:\n"
445447
f" cd {project_metadata.project_slug}\n\n"
446448
" 3. Create and activate virtual environment:\n"

0 commit comments

Comments
 (0)