-
Notifications
You must be signed in to change notification settings - Fork 241
Open
Description
It's interesting that this got unnoticed so far (tested on amazon linux, ubuntu). Based on the documentation https://www.parca.dev/docs/quickstart?environment=binary to download the agent (binary) you have to use the command below:
curl -sL https://github.com/parca-dev/parca-agent/releases/download/v0.40.2/parca-agent_0.40.2_`uname -s`_`uname -m` chmod +x ./parca-agent*
- This won't download the file, the -o flag is missing
- Potentially giving too much execute rights (chmod on ./parca-agent*) on all files that start with string "parca-agent..."
- Always quote URLs
- (optional) chmod u+x would be actually sufficient enough to run the command, since parca-agent needs to be started with root/sudo anyway
The corrected command (should usually work in all environments) would look like:
curl -o parca-agent -sL "https://github.com/parca-dev/parca-agent/releases/download/v0.40.2/parca-agent_0.40.2_$(uname -s)_$(uname -m)" && chmod u+x ./parca-agent
Metadata
Metadata
Assignees
Labels
No labels