How to install FuelLabs/sway. Official installation instructions. Project installation guide. Framework or library installation. Build installation instructions. How to setup and install from GitHub. Installation steps and setup instructions. Official docs and installation instructions GitHub.
FuelLabs/sway Installation Guide
How to install FuelLabs/sway. Official project installation instructions and setup guide.
⚡
Automated Install (Recommended)
Quick installation instructions for FuelLabs/sway. This is the fastest way to complete project installation and setup.
Install via curl
curl -fsSL https://hexmos.com/ipm-install | bash &&
ipm i FuelLabs/swayor
Install via npx
npx @hexmos/ipm i FuelLabs/swayPrerequisites
Rust
languageVersion: stable
Cargo
build_toolVersion: 1.69.0
Git
system_toolVersion: 2.35.1
Node.js
environmentVersion: 18.19.0
npm
package_managerVersion: 12.17.0
Python
languageVersion: 3.9.5
pip
package_managerVersion: 21.0.1
Docker
system_toolVersion: 23.0.0
AWS Account Access
knowledgeManual Installation Methods
Manual installation instructions. How to install from GitHub source.
Building from Source
rustup default stable
export PATH="${HOME}/.cargo/bin:${PATH}"
cargo buildBuilding from Source (Sway Toolchain)
git clone git@github.com:FuelLabs/sway.git
cd sway
cargo buildPost Installation Steps
- Start the Sway server using `sway run`.
- Access the Sway UI at http://localhost:8080/.
