Skip to content

The CLI

I refer to it as the shell

Creating new project

To determine all new templates use

crosslang new --list

And then create a project (in this example, its a console application)

mkdir mynewproject
cd mynewproject
crosslang new console

Running code from source

crosslang run

Pushing code to CPKG

You need CPKG as I have registration disabled as of right now

crosslang login cpkg https://example.com/ #replace with your server
crosslang upload-package

Installing stuff from CPKG

crosslang install-tool Tesses.YouTubeDownloader.MusicSync # not available yet
crosslang install-webapp Tesses.YouTubeDownloader.Server # or whatever
crosslang install-console MyConsoleApp
crosslang install-template Tesses.YouTubeDownloader.PluginTemplate # for making plugins for my Youtube Downloader
crosslang add-dependency Tesses.CrossLang.Std #in project folder

Updating the CLI

If this is the first time you are using CrossLang it will ask you if you want to download the CLI (type y) and press enter, or define environment variable CROSSLANG_CONTAINER=y

If you have an out of date cli use

crosslang update-shell