# Automating juliaup installation

**URL:** <https://discourse.julialang.org/t/automating-juliaup-installation/81440>\
**Category:** Tooling\
**Tags:** cloud-computing, juliaup\
**Created:** [May 21, 2022, 10:19pm UTC](https://discourse.julialang.org/t/automating-juliaup-installation/81440 "2022-05-21T22:19:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chart/32/32049_2.png) [@chart](https://discourse.julialang.org/u/chart)\
**Post date:** [May 21, 2022, 10:19pm UTC](https://discourse.julialang.org/t/automating-juliaup-installation/81440/1 "2022-05-21T22:19:07Z")

</div>

I trying to automate juliaup installation using a shell script.

Juliaup help shows the `-y` flag can be passed to disable the confirmation prompt. However when I use it, I’m still presented with the interactive installer.

Can anyone suggest a workaround to automate juliaup installation?

---

<div class="post-metadata">

**Author:** ![StefanKarpinski](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stefankarpinski/32/24_2.png) [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Post date:** [May 22, 2022, 3:06pm UTC](https://discourse.julialang.org/t/automating-juliaup-installation/81440/2 "2022-05-22T15:06:19Z")

</div>

That seems like a bug. Have you filed an issue?

---

<div class="post-metadata">

**Author:** ![chart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chart/32/32049_2.png) [@chart](https://discourse.julialang.org/u/chart)\
**Post date:** [May 22, 2022, 3:13pm UTC](https://discourse.julialang.org/t/automating-juliaup-installation/81440/3 "2022-05-22T15:13:10Z")

</div>

I did submit an issue [juliaup-init brings up interactive prompt when called with -y flag · Issue #300 · JuliaLang/juliaup · GitHub](https://github.com/JuliaLang/juliaup/issues/300)

---

<div class="post-metadata">

**Author:** ![chart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chart/32/32049_2.png) [@chart](https://discourse.julialang.org/u/chart)\
**Post date:** [May 22, 2022, 3:25pm UTC](https://discourse.julialang.org/t/automating-juliaup-installation/81440/4 "2022-05-22T15:25:40Z")

</div>

I noticed there is an issue [#218](https://github.com/JuliaLang/juliaup/issues/218) that describes

```julia
juliainstaller should have command line args for

--yes option that installs with all defaults and no user interaction

```

However, issue 218 is still on the [backlog](https://github.com/JuliaLang/juliaup/milestone/2) and I think `juliainstaller` may refer to the part of juliaup that installs different Julia versions and not the installer for juliaup itself. The juliaup project is developed in Rust which I’m not familiar with.

I was wondering if anyone else had encountered this and used a shell trick to work around it.

---

<div class="post-metadata">

**Author:** ![mgiugliano](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mgiugliano/32/5818_2.png) [@mgiugliano](https://discourse.julialang.org/u/mgiugliano)\
**Post date:** [October 2, 2022, 8:27am UTC](https://discourse.julialang.org/t/automating-juliaup-installation/81440/5 "2022-10-02T08:27:02Z")

</div>

I encountered the same problem, trying to install juliaup on Google Colab. That is - I am aware - a very special case (i.e. container, shell commands invoked from a jupyter notebook cells, etc.).

Line 95 of `juliaup-init.sh` was commented. Uncommenting it still prompted the user to proceed, which I could not do it from the jupyter notebook cell.
