-
Notifications
You must be signed in to change notification settings - Fork 0
Getting Started
The packages for TLCS are exclusively .zip files. This means that you will need to manually install the application.
- Firstly, download your release of TLCS from our releases page.
- Secondly, unzip the folder in your desired location. If your antivirus flags the program, remember to whitelist the file/folder.
- Next, type into your search bar,
environment variables, and select theedit your system environment variablesapplication. You will need inflated privileges to do this. - From there, press the
environment variables...button on the new window, and then proceed to click onEdit..., after clicking on your usersPathvariable.
- On the Path Variable screen, press
new, and paste in the path to the folder where you put TLCS (e.g.D:\Users\lewis\Desktop\CMD Tools\TLCS).
When you first type into your terminal, excitedly, tlcs, it will throw: Error Code 1: No File Path Specified. For TLCS to work, you need to provide it a file to run (forgetting about advanced TLCS). Because of this, you will need to type,
mkcsto make a C# file to run. If you look in the folder, there should now be a Program.cs for you to work with. For now, type:
System.Console.WriteLine("Hello world!");into the file, and then run,
tlcs Program.csHopefully, the output should have looked like,
Creating new dotnet instance...
Hello World!
and like that, you have used TLCS! Please note that the Creating new dotnet instance... will only appear on first time setup, or running the first time after clearing %tmp%.
It's now time that you explore the wiki further, to find out what else TLCS can do. If you ever need a "cheat sheet", type tlcs -h or tlcs help for more information.
