# Creating a standalone app on different platforms

**URL:** <https://discourse.julialang.org/t/creating-a-standalone-app-on-different-platforms/102089>\
**Category:** General Usage\
**Tags:** package, installation, package-compiler\
**Created:** [July 25, 2023, 7:37pm UTC](https://discourse.julialang.org/t/creating-a-standalone-app-on-different-platforms/102089 "2023-07-25T19:37:47Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![lmiq](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/lmiq/32/18314_2.png) [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Post date:** [July 25, 2023, 9:47pm UTC](https://discourse.julialang.org/t/creating-a-standalone-app-on-different-platforms/102089/3 "2023-07-25T21:47:17Z")

</div>

In lack of better answers, I think one alternative is to provide two scripts:

`mysoftware_install.jl`:

```julia
import Pkg
Pkg.activate("MySoftware", shared=true)
Pkg.add("MySoftware")
exit()

```

and make the user run: `julia mysoftware_install.jl`

Then, `mysoftware.jl` with:

```julia
import Pkg
Pkg.activate("MySoftware", shared=true)
using MySoftware
main(ARGS.... from command line)

```

and let the user run it with:

```julia
julia mysoftware.jl ARGS...

```

With good precompilation directives you may do most of the compilation work in the install phase, and using the script will be practical.

(You might be considering deploying a Pluto notebook, depending on the case)

And tell your users to use juliaup to install Julia.

---

_[View the full topic](https://discourse.julialang.org/t/creating-a-standalone-app-on-different-platforms/102089)._
