Helpful commands for tea/cli
Install tea/cli
sh <(curl https://tea.xyz)
Check currently installed stowed packages
ls ~/.tea
#!/bin/bash | |
adduser sdui | |
usermod -aG sudo sdui | |
apt update | |
apt install ufw | |
ufw allow OpenSSH | |
ufw allow 10000/udp | |
ufw allow 4443/tcp |
apt update | |
# install acme.sh | |
curl https://get.acme.sh | sh | |
# install heroku-cli | |
apt install snapd | |
sudo snap install --classic heroku | |
heroku login --interactive |
{ | |
"environments": { | |
"review": { | |
"scripts": { | |
"postdeploy": "bundle exec rake heroku:review_app_setup", | |
"pr-predestroy": "bundle exec rake heroku:review_app_predestroy" | |
} | |
} | |
} | |
} |
distributable: | |
url: https://example.org/download/{{version}}/src.tar.gz | |
strip-components: 1 | |
versions: | |
- 1.0.0 | |
build: | |
script: | | |
touch "{{prefix}}"/example |
Install tea/cli
sh <(curl https://tea.xyz)
Check currently installed stowed packages
ls ~/.tea
console.log("%cHappy New Year from @mfts0 🎉", "color: red"); |
One of the core benefits of tea
: it's relocatable.
tea
does not pollute your system environment, everything gets "installed" in a relocatable folder ~/.tea
.
tea
can also install languages like node
and ruby
and it's dependency managers, npm
and gem
, respectively.
However, these language dependency managers install packages to global directories like ~/.npm
and ~/.gem
.
Tools from these ecosystems expect to find packages in these locations.
In this RFC, we would love to hear feedback from the community.