• Documentation
  • Modules
  • Space on GitHub
github.com/space-sh/space
  • The Space Tool
  • 1. Introduction to Space
  • 2. Why Space
    • Benefits and advantages of using Space
  • 3. How Space works
  • 4. Installing and running your first Space command
    • Installing from latest tarball
    • Installing current version from source control repository
    • Installing latest stable version from Space.sh site
    • Customizing installation parameters
    • Verifying installation
    • Running your first Space command
  • 5. Space Modules
    • Why Space modules
    • What are Space modules
    • Running a Space module
    • How Space modules work
    • Writing your own Space module
    • Space variables
    • Spacefile YAML reference
    • Modules versioning
    • Modules best practices
    • Modules advanced topics
  • 6. Advanced Space.sh configuration
  • 7. Shell coding and style guidelines
  • 8. Glossary
  • 9. References
  • 10. Getting help
  • 11. Contributing
  • 12. Troubleshooting

Running your first Space command

With the Space program available on the system, it is now possible to run the most basic command.
Create a new file named Spacefile.yaml and add the following contents to it:

_env:  
    - RUN: printf "Hello World\n"  

Now run space and it should output Hello World to the console stdout.

Next section describes what Space modules are. For jumping right into more code, see Running a Space module section.

Previous: Verifying installation

Next: Space Modules

Edit this page

Space.sh is delivered to you by Blockie.org.

Contact: welcome@blockie.org