Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-22 00:23:48 +00:00
parent ce57847ede
commit 7a260c8cd2
5 changed files with 100 additions and 5 deletions

33
tldr/x Normal file
View File

@@ -0,0 +1,33 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# x
> Manage modules and packages.
> More information: <https://x-cmd.com>.
- Use a module (e.g., path module):
`x {{module}}`
- Install a package globally (e.g., jq):
`x env use {{package}}`
- Run a package temporarily in current shell session:
`x env try {{package}}`
- Run a package directly without installation:
`x {{package}}`
- Initialize OpenAI API keys for AI features:
`x openai init`
- Query the package installation method and execute it:
`x install`