# Tab autocomplete in Pkg REPL-mode

**URL:** <https://discourse.julialang.org/t/tab-autocomplete-in-pkg-repl-mode/19214>\
**Category:** General Usage\
**Created:** [January 2, 2019, 11:28pm UTC](https://discourse.julialang.org/t/tab-autocomplete-in-pkg-repl-mode/19214 "2019-01-02T23:28:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjstickel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jjstickel/32/19536_2.png) [@jjstickel](https://discourse.julialang.org/u/jjstickel)\
**Post date:** [January 2, 2019, 11:28pm UTC](https://discourse.julialang.org/t/tab-autocomplete-in-pkg-repl-mode/19214/1 "2019-01-02T23:28:55Z")

</div>

I mostly run julia from the REPL in a system shell (Mac or Linux). Doing `include("path/to/envir[tab] ...` will complete the path or show options if not unique. However, in Pkg mode (i.e., via ‘]’), tab autocomplete doesn’t work for path names. I’d like to do:

```julia
(0.7) pkg> activate path/to/envir[tab]

```

but pressing the tab key does nothing (well, it flashes a different color prompt). I’ve been using v-0.7, but I also tried v-1.0.3. Am I missing something? Should I submit an issue?

---

<div class="post-metadata">

**Author:** ![c42f](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/c42f/32/52842_2.png) [@c42f](https://discourse.julialang.org/u/c42f)\
**Post date:** [January 3, 2019, 1:12am UTC](https://discourse.julialang.org/t/tab-autocomplete-in-pkg-repl-mode/19214/2 "2019-01-03T01:12:36Z")

</div>

I think this is fixed in the julia-1.1 release candidate now available for download — I suggest giving that a try before submitting an issue.

---

<div class="post-metadata">

**Author:** ![00vareladavid](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/00vareladavid/32/23521_2.png) [@00vareladavid](https://discourse.julialang.org/u/00vareladavid)\
**Post date:** [January 3, 2019, 2:27am UTC](https://discourse.julialang.org/t/tab-autocomplete-in-pkg-repl-mode/19214/3 "2019-01-03T02:27:21Z")

</div>

`Pkg` tab-completions should be fairly comprehensive by 1.1.

You can tab complete: commands, flags, and arguments. The completion system is aware of the current command. So `pkg> add [tab]` will complete packages in the registry, and `pkg> rm [tab]` will complete packages which have been installed in the active environment. If you forget what a specific command is called, you can do `pkg> [tab]` and it will suggest all known commands.

The completion system is even aware of flags: e.g. `pkg> activate --shared [tab]` will autosuggest shared environments.

---

<div class="post-metadata">

**Author:** ![jjstickel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jjstickel/32/19536_2.png) [@jjstickel](https://discourse.julialang.org/u/jjstickel)\
**Post date:** [January 3, 2019, 4:16pm UTC](https://discourse.julialang.org/t/tab-autocomplete-in-pkg-repl-mode/19214/4 "2019-01-03T16:16:52Z")

</div>

Ah, yes after testing julia-1.1 I see this is working. Thanks.
