sails-dev-env

Automate cross-platform setup of Rust toolchains, Sails CLI, and Gear binary.

17|23|Updated Mar 12, 2026
One-click install
npx skills add https://github.com/gear-foundation/vara-skills --skill sails-dev-env
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sails-dev-env
Source: https://github.com/gear-foundation/vara-skills/tree/main/skills/sails-dev-env
Command: npx skills add https://github.com/gear-foundation/vara-skills --skill sails-dev-env

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires curl, tar, xz, mktemp, install, uname, and includes scripts (resource) components.

What problem does it solve?

Manually configuring a local development environment for Gear/Vara Sails Rust projects is time-consuming, error-prone, and requires looking up platform-specific steps for rustup, Rust toolchains, wasm targets, the Sails CLI, and the Gear binary. This skill automates the entire baseline setup process for macOS, Linux, and Windows, eliminating guesswork and ensuring a consistent, verified working environment.

Core Features & Use Cases

  • Cross-Platform Toolchain Setup: Automates installation and configuration of rustup, Rust stable and nightly toolchains, and required wasm targets (wasm32-unknown-unknown, wasm32v1-none) for all major desktop operating systems.
  • Sails CLI and Gear Binary Installation: Installs the official Sails Rust CLI via cargo and the latest stable Gear binary from official releases, with no dependency on local checkouts or unofficial sources.
  • Flexible Gear Installation Helper Scripts: Includes optional bash and PowerShell scripts for installing custom Gear release tags or targeting non-standard architectures when needed.
  • Use Case: If you are starting a new Sails project or your local dev environment is broken after a system update, use this skill to get back to a working baseline in minutes without manually running dozens of platform-specific commands.

Quick Start

Use the sails-dev-env skill to set up your local macOS, Linux, or Windows machine with all required Rust toolchains, the Sails CLI, and the official Gear binary for Sails development.

Frequently Asked Questions about sails-dev-env

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up a Rust development environment for Gear and Sails?

Setting up a Rust development environment for Gear and Sails requires installing rustup, Rust stable and nightly toolchains, wasm targets, the Sails CLI, and the Gear binary. This skill automates the entire cross-platform installation and configuration process.

What do I need to install before building a Sails node locally?

Before building a Sails node locally, you need rustup, Rust stable and nightly toolchains, wasm32-unknown-unknown and wasm32v1-none targets, the Sails Rust CLI, and the Gear binary. System dependencies include curl, tar, xz, and mktemp.

Can I use the Sails CLI on Windows for Rust WASM development?

Yes, you can use the Sails CLI on Windows for Rust WASM development. The environment setup supports macOS, Linux, and Windows, automatically installing the required wasm targets and Rust toolchains for your specific operating system.

How do I fix a broken Sails Rust toolchain after a system update?

To fix a broken Sails Rust toolchain after a system update, re-run the environment setup to repair your baseline. It reinstalls rustup, Rust toolchains, wasm targets, the Sails CLI, and the Gear binary to restore a working development state.

Does the Gear binary installation support custom release tags?

Yes, Gear binary installation supports custom release tags. The skill includes optional bash and PowerShell helper scripts allowing you to install specific custom Gear release tags or target non-standard architectures when needed.