Skip to content
Sign upLog in
← Back to Community

Is it possible to use Swift Package Manager in repl.it?

Profile icon
pegasusroe

Because I want to try the Result type, which is supported by the Swift Package Manager. Is it possible?

Voters
Profile icon
DungeonMaster00
Profile icon
opsb
Profile icon
ramon_serrano
Profile icon
mvas
Profile icon
RaphaelSpoerri
Profile icon
pegasusroe
Comments
hotnewtop
Profile icon
DungeonMaster00

make a .replit file and you can add bash commands and with those, import packages

you may want to read up about using swift's package manager on linux because thats what replit uses

Profile icon
pegasusroe

@DungeonMaster00
I'm not familiar with .replit files or bash commands, do you have any reference or any further readings that I can follow to do it step by step?

Profile icon
DungeonMaster00

@pegasusroe
no