curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz && \
tar zxf swiftly-$(uname -m).tar.gz && \
./swiftly init --quiet-shell-followup && \
. ~/.local/share/swiftly/env.sh && \
hash -r
.bashrc:export PATH="/home/chen/.local/share/swiftly/bin:$PATH"
按下 ctrl+shift+p
swift:create new project
选executable