Antinuclei can be produced in space either by collisions of highenergy cosmic rays with the interstellar medium or from the annihilation of dark matter particles stemming into standard model particles. High-energy hadronic collisions at accelerators create a suitable environment for producing light (anti)nuclei. Hence, studying the production of (anti)nuclei in pp collisions at the LHC can provide crucial insights into the production mechanisms of nuclear states in our Universe. Recent measurements of the production of (anti)nuclei in and out of jets, and as a function of rapidity in pp collisions at √S = 13 TeV have been carried out with ALICE. The latter allow for the extrapolation of the nuclear production models at forward rapidity, region of interest for indirect searches of dark matter. Recent results on the annihilation crosssection of antinuclei are also discussed in the context of astrophysical measurements of cosmic ray flux. Such information is essential to study the different sources of antinuclei in our Universe and to interpret any future measurement of antinuclei in space.