Getting Started
Wash is distributed as a single binary; the only prerequisite is libfuse
. Here’s how to install it.
- Install
libfuse
- On MacOS using homebrew:
brew cask install osxfuse
- You’ll also need to restart your computer
- On CentOS:
yum install fuse fuse-libs
- On Debian/Ubuntu:
apt-get install fuse
- On MacOS using homebrew:
- Install the Wash binary
- On MacOS using homebrew:
brew install puppetlabs/puppet/wash
- or download Wash for your platform:
- On Linux:
curl -sfLO https://github.com/puppetlabs/wash/releases/latest/download/wash-x86_64-unknown-linux.tgz tar -xvzf wash-x86_64-unknown-linux.tgz # Unpack it chmod +x wash # Ensure it's executable mv wash /usr/local/bin # You can also add the binary to your PATH
- On MacOS:
curl -sfLO https://github.com/puppetlabs/wash/releases/latest/download/wash-x86_64-apple-darwin.tgz tar -xvzf wash-x86_64-apple-darwin.tgz # Unpack it chmod +x wash # Ensure it's executable mv wash /usr/local/bin # You can also add the binary to your PATH
- On Linux:
- On MacOS using homebrew:
- Run
wash --verify-install
to ensure that the installation was successful- If anything fails, then check out the known issues page to see if the failure(s) correspond to any of the known issues. Otherwise, please don’t hesitate to ask us on slack for help (or file an issue)! Note that you can use
wash --verify-install
to test any fixes.
- If anything fails, then check out the known issues page to see if the failure(s) correspond to any of the known issues. Otherwise, please don’t hesitate to ask us on slack for help (or file an issue)! Note that you can use
- You’re good to go! Try running
wash
to start up the shell1
Note: Wash collects anonymous data about how you use it. See the analytics docs for more details.
-
If you came here from the introduction, then you might find that the Wash prompt displayed in your shell is something like
wash . ❯
which is different from the screencasts. What you’re seeing is correct. What’s shown in the screencasts is an approximation that was the result of a trade-off between “good-enough Wash prompt behavior” and an “efficient and easy way to record a screencast”. ↩