Giter Club home page Giter Club logo

swiftup's Introduction

swiftup: the Swift toolchain installer

Build Status

swiftup allows you to easily install, and switch between multiple versions of Swift.

This project is Swift version of swiftenv.

Installation

swiftup can be easily installed by running it in your shell:

eval "$(curl -s https://raw.githubusercontent.com/mominul/swiftup/master/install.sh)"

Currently only Ubuntu is supported

Commands

install

To install a specific release of Swift, you can easily install it by specifying the version:

swiftup install 3.0.2

Now swiftup will install the 3.0.2 version of Swift.

To install the latest snapshot version of Swift:

swiftup install snapshot

You can also install a specific version of snapshot by passing its download URL directly to swiftup install.

swiftup install https://swift.org/builds/development/ubuntu1610/swift-DEVELOPMENT-SNAPSHOT-2017-02-01-a/swift-DEVELOPMENT-SNAPSHOT-2017-02-01-a-ubuntu16.10.tar.gz

You can also create a .swift-version file and specify your version there. After that you can then install that version by:

swiftup install default

show

It will show all the installed toolchains.

global

It will set the global toolchain version.

$ swiftup show
DEVELOPMENT-SNAPSHOT-2017-01-05-a
3.0.2-RELEASE
DEVELOPMENT-SNAPSHOT-2017-01-18-a

$ swiftup global 3.0.2-RELEASE

which

It will display which binary will be run for a given command.

swiftup's People

Contributors

mominul avatar

Watchers

John Lin avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.