Skip to content

Getting Started

Lewis Page edited this page Mar 12, 2021 · 4 revisions

How to install TLCS

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 the edit your system environment variables application. You will need inflated privileges to do this.
  • From there, press the environment variables... button on the new window, and then proceed to click on Edit..., after clicking on your users Path variable.

  • 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).

Your very first TLCS program

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,

mkcs

to 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.cs

Hopefully, 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%.

Now you're ready to go!

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.

Clone this wiki locally