# add script-path to PATH?

**URL:** https://dietpi.com/forum/t/add-script-path-to-path/1799
**Category:** Troubleshooting
**Created:** [3 January 2018 14:22 UTC](https://dietpi.com/forum/t/add-script-path-to-path/1799 "2018-01-03T14:22:31Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![pakikje](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/p/45deac/32.png) [@pakikje](https://dietpi.com/forum/u/pakikje)
#### Post date: [3 January 2018 14:22 UTC](https://dietpi.com/forum/t/add-script-path-to-path/1799/1 "2018-01-03T14:22:31Z")

</div>

Hello y’all,

NOOB-question: how do i add my script-path (~/script) to the PATH-enviroment? I understand that i can add:

PATH=$PATH:~/script

to .bashrc but where? (i tried adding it just before the line with “/DietPi/dietpi/login” but that didn’t do the trick…

---

_[View the full topic](https://dietpi.com/forum/t/add-script-path-to-path/1799)._
