# Getting error - tput: No value for $TERM

**URL:** <https://discuss.circleci.com/t/getting-error-tput-no-value-for-term/27310>\
**Category:** Build Environment\
**Created:** [December 24, 2018, 9:07am UTC](https://discuss.circleci.com/t/getting-error-tput-no-value-for-term/27310 "2018-12-24T09:07:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![efimk-lu](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/efimk-lu/32/20024_2.png) [@efimk-lu](https://discuss.circleci.com/u/efimk-lu)\
**Post date:** [December 24, 2018, 9:07am UTC](https://discuss.circleci.com/t/getting-error-tput-no-value-for-term/27310/1 "2018-12-24T09:07:48Z")

</div>

Hey,

I’m getting the following error when running my script:

```auto
#!/bin/bash -eo pipefail
./scripts/ci_deploy.sh
tput: No value for $TERM and no -T specified

```

The script by itself is simple

```auto
#!/usr/bin/env bash
set -Eeo pipefail

branch_name=$(git branch | grep \* | cut -d ' ' -f2)
./scripts/deploy.sh --encrypted-file credentials_integration.enc --stage integration-${branch_name} --region eu-west-1
./scripts/remove.sh --stage integration-${branch_name} --region eu-west-1

```

I added `-l` to the to the shell option, e.g. `shell: /bin/bash -eo pipefail -l` does not help.  
I’m using version 2.1

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [March 24, 2019, 9:14am UTC](https://discuss.circleci.com/t/getting-error-tput-no-value-for-term/27310/2 "2019-03-24T09:14:08Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
