Skip to main content
Version: 0.0.5

Getting Started with flightpkg

Flight

Swift, reliable, multi-language package manager.

⚡ Installation

We don't have an official release of Flight yet, however, if you would like to give it a try, feel free to follow the steps below to install a pre-alpha release.

Linux:

$ curl -qL https://raw.githubusercontent.com/flightpkg/flight/main/install.sh | bash

If the installer doesn't set your environment variables, add it using:

$ echo "export PATH=~/flight/bin:$PATH" >> YOUR_SHELL_CONFIG_HERE

...and restart your shell to use the command flight

NodeJS based installer:

$ curl https://raw.githubusercontent.com/flightpkg/flight/setup/dist/index.js -O && node index

Homebrew:

$ brew install flightpkg/flight

Windows:

> Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/flightpkg/flight/main/install.ps1'))

Build From Source

Prerequisites: Git, Yarn and/or NPM, NodeJS.

Steps

  1. Clone the repository using git.
$ git clone https://github.com/flightpkg/flight
  1. CD into the flight directory.
$ cd flight
  1. Install @vercel/ncc globally if it isnt already installed
$ npm i @vercel/ncc
$ yarn global add @vercel/ncc
  1. Run the build script
$ npm run compile && npm run build
$ yarn compile && yarn build
  1. CD into the dist/js directory, then init.
$ cd dist/js
-------------
$ npm init
$ yarn init

👏 Supporters

Stargazers repo roster for @flightpkg/flight