From the help page of Pkg.status()
See Pkg.project and Pkg.dependencies to get the project/manifest status as a Julia object instead of printing it.
julia> proj = Pkg.project()
Pkg.API.ProjectInfo(nothing, nothing, nothing, false, Dict{String, Base.UUID}("OffsetArrays" => UUID("6fe1bfb0-de20-5000-8ca7-80f57d26f881"), "HDF5" => UUID("f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f"), "MortgageCalculators" => UUID("cbda39b7-a5b8-49f7-bf50-e22af4f2d7a9"), "Revise" => UUID("295af30f-e4ad-537b-8983-00126c2a3abe"), "SIMD" => UUID("fdea26ae-647d-5447-a871-4b548cad5224"), "UnicodePlots" => UUID("b8865327-cd53-5732-bb35-84acbb429228"), "BenchmarkTools" => UUID("6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"), "StaticStrings" => UUID("4db0a0c5-418a-4e1d-8806-cb305fe13294"), "FixedPointNumbers" => UUID("53c48c17-4a7d-5ca2-90c5-79b7896eea93")), "/root/.julia/environments/v1.9/Project.toml")
julia> proj.dependencies
Dict{String, Base.UUID} with 9 entries:
"OffsetArrays" => UUID("6fe1bfb0-de20-5000-8ca7-80f57d26f881…
"HDF5" => UUID("f67ccb44-e63f-5c2f-98bd-6dc0ccc4ba2f…
"MortgageCalculators" => UUID("cbda39b7-a5b8-49f7-bf50-e22af4f2d7a9…
"Revise" => UUID("295af30f-e4ad-537b-8983-00126c2a3abe…
"SIMD" => UUID("fdea26ae-647d-5447-a871-4b548cad5224…
"UnicodePlots" => UUID("b8865327-cd53-5732-bb35-84acbb429228…
"BenchmarkTools" => UUID("6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf…
"StaticStrings" => UUID("4db0a0c5-418a-4e1d-8806-cb305fe13294…
"FixedPointNumbers" => UUID("53c48c17-4a7d-5ca2-90c5-79b7896eea93…
julia> Pkg.dependencies()
Dict{Base.UUID, Pkg.API.PackageInfo} with 98 entries:
UUID("fb4d412d-6eee-5… => PackageInfo("FixedPointDecimals", v"0.4.2…
UUID("7cb0a576-ebde-5… => PackageInfo("MPICH_jll", v"4.1.2+0", "8a5…
UUID("477f73a3-ac25-5… => PackageInfo("libaec_jll", v"1.0.6+1", "ed…
UUID("fdea26ae-647d-5… => PackageInfo("SIMD", v"3.4.4", "8b20084a97…
UUID("3da002f7-5984-5… => PackageInfo("ColorTypes", v"0.11.4", "eb7…
UUID("a8cc5b0e-0ffa-5… => PackageInfo("Crayons", v"4.1.1", "249fe38…
UUID("92d709cd-6900-4… => PackageInfo("IrrationalConstants", v"0.2.…
UUID("a63ad114-7e13-5… => PackageInfo("Mmap", nothing, nothing, fal…
UUID("79e6a3ab-5dfb-5… => PackageInfo("Adapt", v"3.5.0", "0310e08cb…
UUID("6fe1bfb0-de20-5… => PackageInfo("OffsetArrays", v"1.12.9", "8…
UUID("76f85450-5226-5… => PackageInfo("LibGit2", nothing, nothing, …
UUID("2a0f44e3-6c83-5… => PackageInfo("Base64", nothing, nothing, f…
UUID("05823500-19ac-5… => PackageInfo("OpenLibm_jll", v"0.8.1+0", n…
UUID("cbda39b7-a5b8-4… => PackageInfo("MortgageCalculators", v"1.0.…
UUID("295af30f-e4ad-5… => PackageInfo("Revise", v"3.5.9", "a38e7d70…
UUID("56f22d72-fd6d-9… => PackageInfo("Artifacts", nothing, nothing…
UUID("682c06a0-de6a-5… => PackageInfo("JSON", v"0.21.4", "31e996f0a…
UUID("b77e0a4c-d291-5… => PackageInfo("InteractiveUtils", nothing, …
UUID("21216c6a-2e73-6… => PackageInfo("Preferences", v"1.3.0", "47e…
UUID("62fd8b95-f654-4… => PackageInfo("TensorCore", v"0.1.1", "1feb…
UUID("7b1f6079-737a-5… => PackageInfo("FileWatching", nothing, noth…
UUID("bea87d4a-7f5b-5… => PackageInfo("SuiteSparse_jll", v"5.10.1+6…
UUID("e66e0078-7015-5… => PackageInfo("CompilerSupportLibraries_jll…
UUID("37e2e46d-f89d-5… => PackageInfo("LinearAlgebra", nothing, not…
UUID("458c3c95-2e84-5… => PackageInfo("OpenSSL_jll", v"3.0.9+0", "c…
UUID("aa1ae85d-cabe-5… => PackageInfo("JuliaInterpreter", v"0.9.26"…
UUID("ade2ca70-3891-5… => PackageInfo("Dates", nothing, nothing, fa…
UUID("276daf66-3868-5… => PackageInfo("SpecialFunctions", v"2.3.0",…
⋮ => ⋮