-
Notifications
You must be signed in to change notification settings - Fork 1
Command Line Interface
ricardoboss edited this page Sep 25, 2023
·
2 revisions
- Download the latest release from the releases page
- If you're on Windows, download the
step-win-x64.exe
file. - If you're on Linux, download the
step-linux-x64
file. - If you're on macOS, download the
step-osx-x64
file. - If you're on an ARM-based system, download the
step-<platform>-arm64
file.
- If you're on Windows, download the
- Rename the file to
step
(orstep.exe
on Windows). - Move the file to a directory that is in your
PATH
environment variable.- On Windows, you can move the file to
C:\Windows
orC:\Windows\System32
. - On Linux, you can move the file to
/usr/bin
or/usr/local/bin
. - On macOS, you can move the file to
/usr/local/bin
.
- On Windows, you can move the file to
- Open a new terminal and run
step --version
to verify that the installation was successful.- It should print the version of STEP that you installed.
- If it prints an error, make sure that the file is in a directory that is in your
PATH
environment variable.
- Install the latest .NET SDK
- Download the latest platform independent release (
step.zip
) from the releases page - Extract the contents of the zip file to a directory of your choice
- Add the directory to your
PATH
environment variable - Open a new terminal and run
step --version
to verify that the installation was successful.- It should print the version of STEP that you installed.
- If it prints an error, make sure that the file is in a directory that is in your
PATH
environment variable.
- Install the latest .NET SDK
- Clone the repository
- Run
dotnet run --project StepLang.CLI/StepLang.CLI.csproj --version
in the root directory of the repository - If the command prints the version of STEP, the installation was successful.
Currently, there are no packages available for STEP on any package managers. An proposal add this is here.
step <command or path> [options]
-
run <file>
: Run a .step file -
format <file-or-dir>
: Format a .step file or a directory of .step files
-
--version
: Print the version number -
--info
: Print the version number and other information -
-h
,--help
: Show help and usage information
© 2023 Ricardo Boss • Licensed under MIT • Want to update this page? Edit it on GitHub and submit a pull request!