> ## Documentation Index
> Fetch the complete documentation index at: https://docs.requestly.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Intercept Traffic from your terminal

> Learn how to set up the Requestly Interceptor proxy in the terminal to intercept and modify terminal requests effortlessly.

## **Steps**

<Steps>
  <Step title="Open Connected Apps">
    Go to the **Requestly Interceptor desktop** **app** and click on the **Connect apps** button. A popup modal will appear.

    <img src="https://mintcdn.com/requestly/LX9nR6xxyL7F8mCE/images/terminal/2ec569ca-893d-4617-8293-bf81354eccfe.png?fit=max&auto=format&n=LX9nR6xxyL7F8mCE&q=85&s=24bc192945485058cfd97243a69e7b48" align="left" fullwidth="false" width="2400" height="1476" data-path="images/terminal/2ec569ca-893d-4617-8293-bf81354eccfe.png" />
  </Step>

  <Step title="Locate Terminal Processes">
    In the popup modal, navigate to the **Terminal processes** section. Click on **Setup instruction** for Terminal.

    <img src="https://mintcdn.com/requestly/LX9nR6xxyL7F8mCE/images/terminal/ccb5742f-050c-4a71-befe-3634be06a186.png?fit=max&auto=format&n=LX9nR6xxyL7F8mCE&q=85&s=d78eed95f679c2af4591f1207fa31133" align="left" fullwidth="false" width="2400" height="1476" data-path="images/terminal/ccb5742f-050c-4a71-befe-3634be06a186.png" />
  </Step>

  <Step title="Copy the Setup Command">
    You will see a command displayed in the setup instructions. Copy the command. It will look something like this:

    ```plaintext theme={null}
    <(curl -sS localhost:7040/tpsetup)
    ```

    > ***Note: This command might be different depending upon port availability. Checkout in Connected Apps > Terminal***

    <img src="https://mintcdn.com/requestly/LX9nR6xxyL7F8mCE/images/terminal/d600051b-e741-4f0f-978a-c417bde78ed1.png?fit=max&auto=format&n=LX9nR6xxyL7F8mCE&q=85&s=4622c4e8deebafe0e9d1e8cdec8f88c6" align="left" fullwidth="false" width="2400" height="1372" data-path="images/terminal/d600051b-e741-4f0f-978a-c417bde78ed1.png" />
  </Step>

  <Step title="Run the Command in Terminal">
    Open the terminal where you will start your **Node.js server** and paste the copied command. Press **Enter** to execute it.

    If the command runs successfully, you should see a confirmation message in your terminal indicating that **interception is enabled**.

    <img src="https://mintcdn.com/requestly/LX9nR6xxyL7F8mCE/images/terminal/737375d3-602b-49c3-a6d1-bcb09a98033a.png?fit=max&auto=format&n=LX9nR6xxyL7F8mCE&q=85&s=6b0c596cbd287b5f103202065449ddc8" align="left" fullwidth="false" width="2400" height="1550" data-path="images/terminal/737375d3-602b-49c3-a6d1-bcb09a98033a.png" />
  </Step>
</Steps>

## **Testing Proxy**

1. Go to `Network Traffic` tab in Requestly Interceptor Desktop App.

2) Now Make a curl request to [**https://amiusing.requestly.io/**](https://amiusing.requestly.io/) using your terminal and look for that request in the **Network Traffic** tab.

```plaintext theme={null}
curl https://amiusing.requestly.io/
```

3. You should see the Request in the `Network Traffic` Table.

   <img src="https://mintcdn.com/requestly/LX9nR6xxyL7F8mCE/images/terminal/bc31d3f5-80e3-41ad-b9ab-74d7b4ad7034.png?fit=max&auto=format&n=LX9nR6xxyL7F8mCE&q=85&s=ed47dc0949b7359d344bcfb66610da4a" align="center" fullwidth="false" width="2400" height="1478" data-path="images/terminal/bc31d3f5-80e3-41ad-b9ab-74d7b4ad7034.png" />
