using Pkg: Pkg function update() projects = readlines("scripts/projects.txt") base_dir = pwd() for project in projects cd(joinpath(base_dir, project)) Pkg.activate(".") Pkg.update() end return nothing end update()