Initializes the Oko package file.
oko init
name | value |
---|---|
compiler | compiler version |
Downloads all packages specified in the Oko package file.
Name aliases: d
oko download
Allows you to install packages from GitHub or link local directories.
Name aliases: i
Allows you to install packages from GitHub.
Expects {org}/{repo}
, i.e. if you want to install the package at https://github.com/internet-computer/testing.mo you will have to pass internet-computer/testing.mo
to the first argument.
Instead of specifying a specific version, latest
can be used.
Name aliases: gh
oko install github <url> <version>
- url
- version
name | value |
---|---|
name | package name |
Allows you to link local packages as dependencies.
Name aliases: l
oko install local <path>
- path
name | value |
---|---|
name | package name |
Allows you to remove packages by name.
Name aliases: r
oko remove <name>
- name
Allows you to migrate Vessel config files to Oko.
oko migrate
name | value |
---|---|
delete | |
keep |
prints moc package sources
oko sources
Motoko compiler stuff
Name aliases: b
downloads the Motoko compiler
Name aliases: d
oko bin download
name | value |
---|---|
didc |
prints out the path to the bin dir
Name aliases: s
oko bin show