# Impossible to use orb-tools/pack with runners

**URL:** <https://discuss.circleci.com/t/impossible-to-use-orb-tools-pack-with-runners/49810>\
**Category:** Bug Reports\
**Tags:** runner, cli, orb-tools\
**Created:** [November 8, 2023, 3:20pm UTC](https://discuss.circleci.com/t/impossible-to-use-orb-tools-pack-with-runners/49810 "2023-11-08T15:20:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascallap](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/pascallap/32/34041_2.png) [@pascallap](https://discuss.circleci.com/u/pascallap)\
**Post date:** [November 8, 2023, 3:20pm UTC](https://discuss.circleci.com/t/impossible-to-use-orb-tools-pack-with-runners/49810/1 "2023-11-08T15:20:59Z")

</div>

There seem to be an issue with local runners and using the orb-tools/pack to manage orb.

The circle-cli isn’t coming for the provided image.

For exemple:

```auto
executors:
  base-executor:
    docker:
      - image: circleci/circleci-cli:0.1.26646 # same version provided by offical orb
    resource_class: "local_runner"
...
workflows:
  lint-pack:
    jobs:
      - orb-tools/pack:
          executor: base-executor
          filters: *filters

```

Will fail informing use that is it missing subcommand `orb` in the circleci command line.

Using a pre-steps listing the version and location of the cricleci-cli is giving us these info:

```auto
version: Build Agent version: 1.0.208753-df883b00
Built: 2023-11-06T16:39:54+0000
Location: /home/circleci/.local/bin/circleci/circleci

```

So basicly it isn’t using the cli provided by the image, but the one from the agent runner / cita…

A quick look that in the container is giving use the information:

```auto
ls /home/circleci/.local/bin/circleci/
circleci -> /home/circleci/.local/bin/circleci/circleci-agent
circleci-agent

```

Also, it seem that the `$PATH` is alter. It will include at first position the location of the circleci binary alias from the agent …

There is no way to use this orb with a local runner.

Help needed.

---

<div class="post-metadata">

**Author:** ![pascallap](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/pascallap/32/34041_2.png) [@pascallap](https://discuss.circleci.com/u/pascallap)\
**Post date:** [November 8, 2023, 3:41pm UTC](https://discuss.circleci.com/t/impossible-to-use-orb-tools-pack-with-runners/49810/2 "2023-11-08T15:41:35Z")

</div>

Super ugly patch…

```auto
      - orb-tools/pack:
          pre-steps:
            - run:
                name: use proper circleci cli
                command: |
                  echo "export PATH=/usr/local/bin:${PATH}" >> "$BASH_ENV"
          executor: base-executor
          filters: *filters

```
