3. Install Piped
February 6, 2025 · View on GitHub
In this page, you will run a Piped agent on local as a single binary.
Installation
-
Create a Piped ID on the console.
1-1. Access the Piped settings page on the console: http://localhost:8080/settings/piped
1-2. Click
+ ADD.
1-3. Enter any
NameandDescription, and then clickSAVE.
1-4. You will see the Piped's ID and Key. You will use them in the following steps.

-
Move on to the directory you cloned in 1. Setup Git Repository.
cd <YOUR_CLONED_TUTORIAL_DIR> cd src/install/piped/ -
Replace
<YOUR_PIPED_KEY>below to thePiped Keyvalue you got in1-4.and create a file of the key.1echo -n <YOUR_PIPED_KEY> > .pipedKey -
Edit your
src/install/piped/piped.yamlas below.spec.pipedID:Piped Idyou got in1-4.spec.pipedKeyFile:<YOUR_CLONED_TUTORIAL_DIR>/src/install/piped/.pipedKeyspec.repositories[0].remote: The URL of your repository on GitHub you created in 1. Setup Git Repository.spec.platformProviders: Uncomment one item. You will deploy to the environment.
-
Get the official binary of Piped from pipecd/releases. Choose your OS and CPU architecture.
# OS=darwin or linux # CPU=arm64 or amd64 curl -Lo ./piped https://github.com/pipe-cd/pipecd/releases/download/v0.50.1/piped_v0.50.1_${OS}_${CPU} -
Make the Piped executable.
chmod +x ./piped -
Run the Piped.2
./piped piped --config-file=./piped.yaml --insecureTroubleshooting (Click to expand)
-
failed to create api client {"error": "context deadline exceeded"}- It means the piped failed to connect to the control plane.
- Check
apiAddressinpiped.yaml - Check whether the control plane is serving on
apiAddress.
-
rpc error: code = Unauthenticated desc = Unauthenticated- It means the piped connected to the control plane but failed to authenticate.
- Check
projectID,pipedID,pipedKeyFileinpiped.yaml. - Check the value in the
pipedKeyFile.
-
failed to clone from remote- It means the piped successfully connected to the control plane with authentication but failed to clone from GitHub.
- Check
spec.git.repositories>remote,branch.
-
Confirmation
-
Access the Piped settings page on the console: http://localhost:8080/settings/piped
If successful, you will see a green mark(
Online) in theNamearea. If not green, please wait for a few minutes.
See Also
< Previous: 2. Install Control Plane
Footnotes
-
Do NOT push a Piped Key to remote because it is a credential. In actual use, you should store it and
piped.yamlin a secret management tool. ↩ -
--insecureoption disables TLS of the communication from the Piped to the Control Plane. (cf. Piped's Runtime Options) ↩